mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-04 14:39:08 +02:00
Fix for Move to Next/Previous Label commands
Problem was that when these commands were used when playback was stopped, the tracks did not automatically scroll to make sure that the label that had been moved to was visible. Fix: call TrackPanel::ScrollIntoView().
This commit is contained in:
parent
92f56fb733
commit
71694d026a
@ -2726,6 +2726,7 @@ void AudacityProject::OnMoveToLabel(bool next)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
GetViewInfo().selectedRegion = label->selectedRegion;
|
GetViewInfo().selectedRegion = label->selectedRegion;
|
||||||
|
mTrackPanel->ScrollIntoView(GetViewInfo().selectedRegion.t0());
|
||||||
RedrawProject();
|
RedrawProject();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user