diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-01-25 21:46:24 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-01-25 21:46:24 +0100 |
commit | 6de15a79cfc9f9156700e2fe84287a5abe4f9893 (patch) | |
tree | 7c7e0e22852396436dbc397a715cdd0a0e925760 /gtk2_ardour/editor_drag.h | |
parent | 484c3316d647cb7321b55df85c8128e83c013ef2 (diff) |
improve range drag semantics
If a track is selected during the drag (by moving the mouse pointer into a new track), but it was not
selected at the start, and is then de-selected (by moving the mouse back out of it), then remove
it from the selection.
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 91fb37b82e..b5ebc3b39d 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -34,6 +34,7 @@ #include "editor_items.h" #include "mouse_cursors.h" #include "editing.h" +#include "track_selection.h" namespace ARDOUR { class Location; @@ -1106,7 +1107,7 @@ public: private: Operation _operation; bool _add; - std::list<TimeAxisView*> _added_time_axes; + TrackSelection _track_selection_at_start; bool _time_selection_at_start; framepos_t start_at_start; framepos_t end_at_start; |