diff options
author | Carl Hetherington <carl@carlh.net> | 2010-12-22 23:16:39 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-12-22 23:16:39 +0000 |
commit | 039adb4c6b8dfea99e9b8eab7ca667ad4b3953d7 (patch) | |
tree | fb5bdcbedd7907cf716673c955e554c692133314 /gtk2_ardour/editor_drag.h | |
parent | 9eca7915e2ea5003c92d9d741b44af207933f688 (diff) |
Account for the fact that CursorDrag only ever drags the playhead. Fix playhead misbehaviour when you start a drag from outside it.
git-svn-id: svn://localhost/ardour2/branches/3.0@8327 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 04d7150ee4..c294744004 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -570,7 +570,7 @@ private: }; -/** Drag of a cursor */ +/** Drag of the playhead cursor */ class CursorDrag : public Drag { public: @@ -592,13 +592,9 @@ public: bool y_movement_matters () const { return false; } - - void setup_pointer_frame_offset (); private: - EditorCursor* _cursor; ///< cursor being dragged bool _stop; ///< true to stop the transport on starting the drag, otherwise false - }; /** Region fade-in drag */ |