diff options
author | nick_m <mainsbridge@gmail.com> | 2017-06-17 05:11:38 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2017-07-22 02:15:20 +1000 |
commit | cadb5c481c9aabebe9a6801dca3d00f0b15d989c (patch) | |
tree | 67d0697a835257d5b02684e17880966bf772852c /gtk2_ardour/editor_drag.h | |
parent | 0d9c4986e9c74f0edbd8794e21834b6018a00853 (diff) |
Disable tempo end/twist drag for meter-locked tempi
It was assumed that the drag takes place within an area of musical time.
This is not true for the space before any non-initial
meter-locked tempo.
In the case of the initial tempo, there is no previous section
to perform an end-drag on.
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index e5a349fbb2..df54c6bda7 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -881,6 +881,7 @@ private: double _grab_qn; ARDOUR::TempoSection* _tempo; XMLNode* _before_state; + bool _drag_valid; }; /** Drag of the playhead cursor */ |