1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-11 15:16:27 +01:00

More for bug 1014: stop scrubbing when switching out of select tool...

... Verified that this works for presses on tool buttons, and keys A, D, F1,
..., F6.

Also fix conditional compilation with EXPERIMENTAL_SCRUBBING_BASIC not defined.
This commit is contained in:
Paul Licameli
2015-06-08 09:50:43 -04:00
parent 70d9e7b746
commit 0bed89419f
4 changed files with 46 additions and 11 deletions

View File

@@ -316,7 +316,9 @@ class AUDACITY_DLL_API TrackPanel:public wxPanel {
);
bool MaybeStartScrubbing(wxMouseEvent &event);
bool ContinueScrubbing(wxCoord position, bool hasFocus, bool seek);
public:
bool StopScrubbing();
protected:
#endif
virtual void SelectionHandleClick(wxMouseEvent &event,