mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
Tweak/Change the zoom scale in RulerZoomDrag
This multiplier really should be based on the "responsiveness" of the canvas..or something. I think this is an improvement for more complex sessions with many regions.
This commit is contained in:
parent
92cc8e25a6
commit
9c1dda5629
1 changed files with 1 additions and 1 deletions
|
|
@ -6990,7 +6990,7 @@ RulerZoomDrag::motion (GdkEvent* event, bool)
|
|||
_editor->playhead_cursor->set_position (where);
|
||||
|
||||
const double movement_limit = 20.0;
|
||||
const double scale = 1.08;
|
||||
const double scale = 1.12;
|
||||
const double y_delta = last_pointer_y() - current_pointer_y();
|
||||
|
||||
if (y_delta > 0 && y_delta < movement_limit) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue