diff options
author | nick_m <mainsbridge@gmail.com> | 2017-06-17 04:59:06 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2017-07-22 02:15:20 +1000 |
commit | d94c630134da6a728b6a53b57ab6f151c4e0206c (patch) | |
tree | f5b6831d0097ba5bcbb076933e7d43ac8c872031 /gtk2_ardour/editor_drag.h | |
parent | b0a306f9d0ba5d47dadba1130d68d25bc078c52e (diff) |
Fix various issues wrt BBTRulerDrag
If we've clicked on a tempo bar before the initial tempo,
don't allow anything to happen.
If it was just a click, ensure the tempo curve colour is restored.
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 f2b08d4cfe..e5a349fbb2 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -822,6 +822,7 @@ private: double _grab_qn; ARDOUR::TempoSection* _tempo; XMLNode* _before_state; + bool _drag_valid; }; /** tempo curve twist drag */ |