[gimp/wip/animation: 121/197] plug-ins: more subtle zoom in and out in animation playback.



commit d237ed96a6b3b4c55e3d03b3ee9b175351e2b893
Author: Jehan <jehan girinstud io>
Date:   Wed Jan 4 00:25:30 2017 +0100

    plug-ins: more subtle zoom in and out in animation playback.
    
    Use 5% zooming steps rather than 10%.

 plug-ins/animation-play/widgets/animation-dialog.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/animation-play/widgets/animation-dialog.c 
b/plug-ins/animation-play/widgets/animation-dialog.c
index 3b074c9..d451d13 100755
--- a/plug-ins/animation-play/widgets/animation-dialog.c
+++ b/plug-ins/animation-play/widgets/animation-dialog.c
@@ -1586,7 +1586,7 @@ zoom_in_callback (GtkAction       *action,
   g_signal_handlers_block_by_func (priv->zoomcombo,
                                    G_CALLBACK (zoomcombo_changed),
                                    dialog);
-  update_scale (dialog, scale + 0.1);
+  update_scale (dialog, scale + 0.05);
 
   g_signal_handlers_unblock_by_func (priv->zoomcombo,
                                      G_CALLBACK (zoomcombo_changed),
@@ -1605,7 +1605,7 @@ zoom_out_callback (GtkAction       *action,
       g_signal_handlers_block_by_func (priv->zoomcombo,
                                        G_CALLBACK (zoomcombo_changed),
                                        dialog);
-      update_scale (dialog, scale - 0.1);
+      update_scale (dialog, scale - 0.05);
       g_signal_handlers_unblock_by_func (priv->zoomcombo,
                                          G_CALLBACK (zoomcombo_changed),
                                          dialog);


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