[lightsoff/wip/gtkview] Faster and smoother level transitions



commit 03a252023bdb1ba1b2e3c2857abb0f9dc89716ea
Author: Robert Roth <robert roth off gmail com>
Date:   Sun Jul 15 16:03:50 2018 +0300

    Faster and smoother level transitions

 src/game-view-gtk.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/game-view-gtk.vala b/src/game-view-gtk.vala
index 0b49db2..732e12d 100644
--- a/src/game-view-gtk.vala
+++ b/src/game-view-gtk.vala
@@ -17,7 +17,7 @@ public class GtkGameView : Gtk.Stack, GameView {
 
     public void replace_board (BoardView old_board, BoardView new_board, GameView.ReplaceStyle style, bool 
fast = true)
     {
-        transition_duration = fast ? 1000 : 2000;
+        transition_duration = fast ? 500 : 1000;
         switch (style)
         {
             case REFRESH:


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