[gimp] Isse #1476 - strange behavior in Layer resize dialog
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Isse #1476 - strange behavior in Layer resize dialog
- Date: Sun, 17 Jun 2018 13:36:05 +0000 (UTC)
commit 93d28ceccc46c0019a636fa6dcca28b670a82b10
Author: Michael Natterer <mitch gimp org>
Date: Sun Jun 17 15:33:53 2018 +0200
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.
app/dialogs/resize-dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/dialogs/resize-dialog.c b/app/dialogs/resize-dialog.c
index f0f231930d..4656652c2d 100644
--- a/app/dialogs/resize-dialog.c
+++ b/app/dialogs/resize-dialog.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]