diff options
author | Carl Hetherington <carl@carlh.net> | 2011-05-25 16:38:49 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-05-25 16:38:49 +0000 |
commit | fb39b47861a69a774a5f9f2029e7644811af7339 (patch) | |
tree | 9911e943141814c27f8a03b94e384a215f1c7b8f /gtk2_ardour/editor_drag.h | |
parent | 711db34a81eed3748684bc52b17a56292ffe4092 (diff) |
Zoom session when the mouse pointer is moved up and down during a playhead drag.
git-svn-id: svn://localhost/ardour2/branches/3.0@9586 d708f5d6-7413-0410-9779-e7cbd77b26cf
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 b1e99890e7..3277f0334c 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -594,13 +594,14 @@ public: } bool y_movement_matters () const { - return false; + return true; } private: void fake_locate (framepos_t); bool _stop; ///< true to stop the transport on starting the drag, otherwise false + double _grab_zoom; ///< editor frames per unit when our grab started }; /** Region fade-in drag */ |