mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
fix indentation from prior commit
This commit is contained in:
parent
6976a78100
commit
fe08965d91
2 changed files with 4 additions and 4 deletions
|
|
@ -387,12 +387,12 @@ Drag::motion_handler (GdkEvent* event, bool from_autoscroll)
|
||||||
|
|
||||||
if (!_editor->autoscroll_active() || from_autoscroll) {
|
if (!_editor->autoscroll_active() || from_autoscroll) {
|
||||||
|
|
||||||
bool first_move = (_move_threshold_passed != old_move_threshold_passed) ||
|
bool first_move = (_move_threshold_passed != old_move_threshold_passed) ||
|
||||||
from_autoscroll;
|
from_autoscroll;
|
||||||
|
|
||||||
motion (event, first_move && !_starting_point_passed);
|
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_x = _drags->current_pointer_x ();
|
||||||
_last_pointer_y = current_pointer_y ();
|
_last_pointer_y = current_pointer_y ();
|
||||||
|
|
|
||||||
|
|
@ -233,7 +233,7 @@ protected:
|
||||||
private:
|
private:
|
||||||
bool _trackview_only; ///< true if pointer y value should always be relative to the top of the trackview group
|
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 _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
|
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_x; ///< trackview x of the grab start position
|
||||||
double _grab_y; ///< y of the grab start position, possibly adjusted if _trackview_only is true
|
double _grab_y; ///< y of the grab start position, possibly adjusted if _trackview_only is true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue