1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Define Track::AdjustPositions()

This commit is contained in:
Paul Licameli
2018-12-24 10:26:21 -05:00
parent e581fa60d9
commit d335276931
2 changed files with 12 additions and 0 deletions

View File

@@ -1328,6 +1328,15 @@ bool Track::HandleCommonXMLAttribute(const wxChar *attr, const wxChar *value)
return false;
}
void Track::AdjustPositions()
{
auto pList = mList.lock();
if (pList) {
pList->RecalcPositions(mNode);
pList->ResizingEvent(mNode);
}
}
bool TrackList::HasPendingTracks() const
{
if ( !mPendingUpdates.empty() )