app: Halve the rate of distance-based drag-to-zoom scaling

Reduces the rate from +/- 1% of the current scale per pixel, to 0.5% to
allow for more fine control while zooming.
This commit is contained in:
woob 2022-03-01 18:52:49 -05:00 committed by Jehan
parent 505a78e715
commit 4cffd91af4
1 changed files with 1 additions and 1 deletions

View File

@ -819,7 +819,7 @@ gimp_display_shell_scale_drag (GimpDisplayShell *shell,
{
gimp_display_shell_scale (shell,
GIMP_ZOOM_TO,
scale * exp (0.01 * delta_y),
scale * exp (0.005 * delta_y),
GIMP_ZOOM_FOCUS_POINTER);
}
else if (delta_y > 0.0) /* drag_zoom_mode == PROP_DRAG_ZOOM_MODE_DURATION */