1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-17 16:50:26 +02:00

Bug897 - Time ruler is not redrawn for zoom or horizontal scroll when play region is locked

Added a Refresh() to fix this.
This commit is contained in:
Paul Licameli 2015-04-05 22:27:35 +01:00 committed by James Crook
parent 937b0ed0c2
commit e9537fccb8

View File

@ -4505,6 +4505,9 @@ void AudacityProject::TP_DisplaySelection()
if (!gAudioIO->IsBusy() && !mLockPlayRegion)
mRuler->SetPlayRegion(mViewInfo.selectedRegion.t0(),
mViewInfo.selectedRegion.t1());
else
// Cause ruler redraw anyway, because we may be zooming or scrolling
mRuler->Refresh();
}