mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +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:
committed by
James Crook
parent
937b0ed0c2
commit
e9537fccb8
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user