[gegl] gcut: autozoom to fit on start
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gcut: autozoom to fit on start
- Date: Mon, 7 Aug 2017 00:19:03 +0000 (UTC)
commit eb32f476d4f52e77d0eea73b321b9f135dabf04a
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Aug 7 00:04:51 2017 +0200
gcut: autozoom to fit on start
gcut/gcut-ui.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gcut/gcut-ui.c b/gcut/gcut-ui.c
index 5020d13..ea8a439 100644
--- a/gcut/gcut-ui.c
+++ b/gcut/gcut-ui.c
@@ -3406,6 +3406,12 @@ int gcut_ui_main (GeglEDL *edl)
// gcut_set_use_proxies (edl, 1);
toggle_use_proxies (NULL, edl, NULL);
renderer_start (edl);
+
+ /* XXX: should not be needed */
+ { MrgEvent ev;
+ ev.mrg = mrg;
+ zoom_fit (&ev, edl, NULL);
+ }
mrg_main (mrg);
gcut_free (edl);
gegl_exit ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]