[gnome-tetravex] Fix previous commit.



commit b15b40800fd02714344185394a4eab5136b346d0
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Sep 20 19:25:05 2019 +0200

    Fix previous commit.

 src/gnome-tetravex.vala | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-tetravex.vala b/src/gnome-tetravex.vala
index 25e21b3..a7b3099 100644
--- a/src/gnome-tetravex.vala
+++ b/src/gnome-tetravex.vala
@@ -516,10 +516,10 @@ private class Tetravex : Gtk.Application
     private void move_down ()   { puzzle.move_down ();  }
     private void move_left ()
     {
-        if (puzzle.is_solved_right)
-            finish_cb ();
-        else
+        if (!puzzle.is_solved_right)
             puzzle.move_left ();
+        else if (!puzzle.paused && !view.tile_selected)
+            finish_cb ();
     }
     private void move_right ()  { puzzle.move_right (); }
 


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