Isse #1476 - strange behavior in Layer resize dialog

resize_dialog_new(): create the preview with "popup = TRUE", so we
really get a preview of layer size and not of the layer within the
image context like used for the layers dialog.
This commit is contained in:
Michael Natterer
2018-06-17 15:33:53 +02:00
parent 697ff4b423
commit 93d28ceccc

View File

@ -285,7 +285,7 @@ resize_dialog_new (GimpViewable *viewable,
gtk_container_add (GTK_CONTAINER (frame), private->area);
gtk_widget_show (private->area);
gimp_viewable_get_preview_size (viewable, 200, FALSE, TRUE, &width, &height);
gimp_viewable_get_preview_size (viewable, 200, TRUE, TRUE, &width, &height);
pixbuf = gimp_viewable_get_pixbuf (viewable, context,
width, height);