mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-24 17:41:13 +01: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:
@@ -49,9 +49,10 @@ class TimeTrack final : public Track {
|
||||
void Silence(double t0, double t1) override;
|
||||
void InsertSilence(double t, double len) override;
|
||||
|
||||
HitTestResult HitTest
|
||||
HitTestResult DetailedHitTest
|
||||
(const TrackPanelMouseEvent &event,
|
||||
const AudacityProject *pProject) override;
|
||||
const AudacityProject *pProject, int currentTool, bool bMultiTool)
|
||||
override;
|
||||
|
||||
// Identifying the type of track
|
||||
int GetKind() const override { return Time; }
|
||||
|
||||
Reference in New Issue
Block a user