mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
latest tweaks to autoscroll: symmetrical boundary on both sides, stop runaway scrolling, and more
This commit is contained in:
parent
9d7efe7865
commit
4f7d94ea67
3 changed files with 44 additions and 52 deletions
|
|
@ -3912,9 +3912,7 @@ SelectionDrag::motion (GdkEvent* event, bool first_move)
|
|||
break;
|
||||
}
|
||||
|
||||
if (event->button.x >= _editor->horizontal_position() + _editor->_visible_canvas_width) {
|
||||
_editor->start_canvas_autoscroll (1, 0);
|
||||
}
|
||||
_editor->maybe_autoscroll (true, false, false);
|
||||
|
||||
if (start != end) {
|
||||
switch (_operation) {
|
||||
|
|
@ -4103,9 +4101,7 @@ RangeMarkerBarDrag::motion (GdkEvent* event, bool first_move)
|
|||
}
|
||||
}
|
||||
|
||||
if (event->button.x >= _editor->horizontal_position() + _editor->_visible_canvas_width) {
|
||||
_editor->start_canvas_autoscroll (1, 0);
|
||||
}
|
||||
_editor->maybe_autoscroll (true, false, false);
|
||||
|
||||
if (start != end) {
|
||||
_editor->temp_location->set (start, end);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue