summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-01-23 13:45:21 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2015-01-23 13:45:21 -0500
commitfe08965d91b9dd8a71604118e4d967d624e87f03 (patch)
treeb5fc4ff8f0e09061f74bff7d367f513c926c9be2 /gtk2_ardour
parent6976a781000ab0d1942d2297b7ab0ee500416a7a (diff)
fix indentation from prior commit
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor_drag.cc6
-rw-r--r--gtk2_ardour/editor_drag.h2
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