[gnome-mines] Fix spacebar not working until another key is pressed #56



commit e54b8de41b27a5a2a9bb320b674e789e0eaef4e9
Author: christiangnrd <chguinard99 gmail com>
Date:   Mon Oct 5 10:31:25 2020 +0000

    Fix spacebar not working until another key is pressed #56

 src/minefield-view.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/minefield-view.vala b/src/minefield-view.vala
index 649c969..59f20cb 100644
--- a/src/minefield-view.vala
+++ b/src/minefield-view.vala
@@ -506,6 +506,7 @@ public class MinefieldView : Gtk.Grid
 
         if (x == keyboard_cursor.x && y == keyboard_cursor.y)
         {
+            keyboard_cursor.is_set = true;
             mines[keyboard_cursor.x,keyboard_cursor.y].add_class ("cursor");
             return true;
         }


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