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:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user