1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 16:09:28 +02:00

Merge: Bug972, again: Recording into empty project aligns time 0 with left edge.

This commit is contained in:
Paul Licameli 2015-05-26 20:23:39 -04:00
commit 2f3d223ec2

View File

@ -5255,6 +5255,10 @@ void TrackPanel::UpdateViewIfNoTracks()
//PRL: and default the rest of the selection information
mViewInfo->selectedRegion = SelectedRegion();
// PRL: Following causes the time ruler to align 0 with left edge.
// Bug 972
mViewInfo->h = 0;
mListener->TP_RedrawScrollbars();
mListener->TP_DisplayStatusMessage(wxT("")); //STM: Clear message if all tracks are removed
}