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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user