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

Cursor handling always relies on current mouse state, not remembered

This commit is contained in:
Paul Licameli
2017-07-11 23:47:15 -04:00
parent 308d89b0e6
commit 4ec6baf059
3 changed files with 21 additions and 24 deletions

View File

@@ -334,7 +334,7 @@ class AUDACITY_DLL_API TrackPanel final : public OverlayPanel {
Track *GetFocusedTrack();
void SetFocusedTrack(Track *t);
void HandleCursorForLastMouseState();
void HandleCursorForPresentMouseState();
void UpdateVRulers();
void UpdateVRuler(Track *t);
@@ -377,7 +377,7 @@ protected:
};
FoundCell FindCell(int mouseX, int mouseY);
void HandleMotion( wxMouseState *pState );
void HandleMotion( wxMouseState &state );
void HandleMotion( const TrackPanelMouseState &tpmState );
// If label, rectangle includes track control panel only.