mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 00:03:52 +02:00
Redo hit test priorities in TrackPanel...
Zoom tool takes precedence; Otherwise do special hits appropriate to the track subclass -- and only WaveTrack here uses Tools toolbar state, and now disallows clicks on things when they are not drawn because the view is spectrogram; Finally, default to right button zooming in Multi tool, or to time shift in that tool, or to selection adjustment in Multi or in Select tool.
This commit is contained in:
@@ -103,9 +103,10 @@ class AUDACITY_DLL_API WaveTrack final : public PlayableTrack {
|
||||
|
||||
virtual ~WaveTrack();
|
||||
|
||||
HitTestResult HitTest
|
||||
HitTestResult DetailedHitTest
|
||||
(const TrackPanelMouseEvent &event,
|
||||
const AudacityProject *pProject) override;
|
||||
const AudacityProject *pProject, int currentTool, bool bMultiTool)
|
||||
override;
|
||||
|
||||
double GetOffset() const override;
|
||||
void SetOffset(double o) override;
|
||||
|
||||
Reference in New Issue
Block a user