diff options
-rw-r--r-- | gtk2_ardour/editor_drag.cc | 6 | ||||
-rw-r--r-- | gtk2_ardour/editor_drag.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index a98fe25568..17fe93139a 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -387,12 +387,12 @@ Drag::motion_handler (GdkEvent* event, bool from_autoscroll) if (!_editor->autoscroll_active() || from_autoscroll) { - bool first_move = (_move_threshold_passed != old_move_threshold_passed) || - from_autoscroll; + bool first_move = (_move_threshold_passed != old_move_threshold_passed) || + from_autoscroll; motion (event, first_move && !_starting_point_passed); - _starting_point_passed = first_move; + _starting_point_passed = first_move; _last_pointer_x = _drags->current_pointer_x (); _last_pointer_y = current_pointer_y (); diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index ef4a0f0b28..aec672d92f 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -233,7 +233,7 @@ protected: private: bool _trackview_only; ///< true if pointer y value should always be relative to the top of the trackview group bool _move_threshold_passed; ///< true if the move threshold has been passed, otherwise false - bool _starting_point_passed; ///< true if we called move () with first_move flag, otherwise false + bool _starting_point_passed; ///< true if we called move () with first_move flag, otherwise false bool _was_double_click; ///< true if drag initiated by a double click event double _grab_x; ///< trackview x of the grab start position double _grab_y; ///< y of the grab start position, possibly adjusted if _trackview_only is true |