[gegl] bin: queue redraw after zoom to arbitrary size



commit 95ef9359061653cd8846f30178e720532526914f
Author: Øyvind Kolås <pippin gimp org>
Date:   Wed Jan 16 20:57:36 2019 +0100

    bin: queue redraw after zoom to arbitrary size

 bin/ui.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/bin/ui.c b/bin/ui.c
index 94298b58f..c281d6592 100644
--- a/bin/ui.c
+++ b/bin/ui.c
@@ -3743,6 +3743,7 @@ int cmd_zoom (COMMAND_ARGS) /* "zoom", -1, "<fit|in [amt]|out [amt]|zoom-level>"
     o->scale = g_strtod(argv[1], NULL);
     o->u = x * o->scale - mrg_width(o->mrg)/2;
     o->v = y * o->scale - mrg_height(o->mrg)/2;
+    mrg_queue_draw (o->mrg, NULL);
   }
   return 0;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]