MCPcopy Create free account
hub / github.com/audacity/audacity / MoveUp

Method MoveUp

libraries/lib-track/Track.cpp:741–749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

739}
740
741bool TrackList::MoveUp(Track &t)
742{
743 Track *p = GetPrev(t, true);
744 if (p) {
745 SwapNodes(p->GetNode(), t.GetNode());
746 return true;
747 }
748 return false;
749}
750
751bool TrackList::MoveDown(Track &t)
752{

Callers 1

DragMethod · 0.80

Calls 1

GetNodeMethod · 0.80

Tested by

no test coverage detected