1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-10 22:56:26 +01:00

Clarify what the TrackList events are for...

Also fixes this bug:

Vertical rulers did not narrow as needed after deletion of the lowest track.
This commit is contained in:
Paul Licameli
2017-06-25 01:33:31 -04:00
parent c48bf4f37d
commit 750fc34fac
6 changed files with 48 additions and 69 deletions

View File

@@ -279,8 +279,8 @@ class AUDACITY_DLL_API TrackPanel final : public OverlayPanel {
void OnContextMenu(wxContextMenuEvent & event);
void OnPlayback(wxCommandEvent &);
void OnTrackListResized(wxCommandEvent & event);
void OnTrackListUpdated(wxCommandEvent & event);
void OnTrackListResizing(wxCommandEvent & event);
void OnTrackListDeletion(wxCommandEvent & event);
void UpdateViewIfNoTracks(); // Call this to update mViewInfo, etc, after track(s) removal, before Refresh().
double GetMostRecentXPos();