Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
741
bool 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
751
bool TrackList::MoveDown(Track &t)
752
{
Callers
1
Drag
Method · 0.80
Calls
1
GetNode
Method · 0.80
Tested by
no test coverage detected