Commit c98edaf1 authored by Ell's avatar Ell

app: behave as if "show all" is disabled in GimpCanvasPassePartout when keeping padding

parent f418ac3e
Pipeline #115310 failed with stages
in 8 minutes and 44 seconds
......@@ -148,7 +148,7 @@ gimp_canvas_passe_partout_draw (GimpCanvasItem *item,
gint x, y;
gint w, h;
if (! shell->show_all)
if (! gimp_display_shell_get_infinite_canvas (shell))
{
x = -shell->offset_x;
y = -shell->offset_y;
......@@ -171,7 +171,7 @@ gimp_canvas_passe_partout_get_extents (GimpCanvasItem *item)
GimpDisplayShell *shell = gimp_canvas_item_get_shell (item);
cairo_rectangle_int_t rectangle;
if (! shell->show_all)
if (! gimp_display_shell_get_infinite_canvas (shell))
{
cairo_region_t *inner;
cairo_region_t *outer;
......
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