Commit 86cbc2f7 authored by Michael Natterer's avatar Michael Natterer 😴

Bug 760402 - Zoom in (with "Resize window on zoom") displays wrong...

...several different zooms tiled together

In gimp_display_shell_scale() don't shortcut things in the case where
we resize the window, but call gimp_display_shell_scale_resize() like
all other scaling functions do in the end.
parent 75f81d15
......@@ -323,18 +323,12 @@ gimp_display_shell_scale (GimpDisplayShell *shell,
if (resize_window)
GimpImageWindow *window = gimp_display_shell_get_window (shell);
/* If the window is resized on zoom, simply do the zoom and
* get things rolling
gimp_zoom_model_zoom (shell->zoom, GIMP_ZOOM_TO, new_scale);
gimp_display_shell_scaled (shell);
if (window && gimp_image_window_get_active_shell (window) == shell)
gimp_image_window_shrink_wrap (window, FALSE);
gimp_display_shell_scale_resize (shell, TRUE, FALSE);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment