[swell-foop] Connected tiles are highlighted, navigating through keyboard.



commit 5f9dfcbc36cd5c9caa7574e72e495e1811bad159
Author: amishas157 <amishas157 gmail com>
Date:   Wed Sep 10 00:38:53 2014 +0530

    Connected tiles are highlighted, navigating through keyboard.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727054

 src/game-view.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/game-view.vala b/src/game-view.vala
index 53c3053..ec1c664 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -282,6 +282,8 @@ public class GameView : Clutter.Group
     public void cursor_click ()
     {
         game.remove_connected_tiles (tiles[cursor_x, cursor_y].tile);
+        highlighted = tiles[cursor_x, cursor_y];
+        opacity_for_connected_tiles (highlighted, 255);
     }
 
     /* Show flying score animation after each tile-removing click */


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