[gnome-games/gsoc-seed-games] [same-gnome-clutter] Don't show the "offscreen" source lights



commit aa804cefafbf75231309f51df866e6b887f963b3
Author: Tim Horton <hortont424 gmail com>
Date:   Sat Jul 11 23:20:12 2009 -0400

    [same-gnome-clutter] Don't show the "offscreen" source lights

 same-gnome-clutter/src/light.js |    2 --
 same-gnome-clutter/src/main.js  |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/same-gnome-clutter/src/light.js b/same-gnome-clutter/src/light.js
index 929bbd6..d660f4c 100644
--- a/same-gnome-clutter/src/light.js
+++ b/same-gnome-clutter/src/light.js
@@ -2,8 +2,6 @@ Clutter = imports.gi.Clutter;
 GLib = imports.gi.GLib;
 main = imports.main;
 
-var tile_svg_size = 50;
-
 Light = new GType({
     parent: Clutter.Group.type,
     name: "Light",
diff --git a/same-gnome-clutter/src/main.js b/same-gnome-clutter/src/main.js
index 146cfbf..3de27b9 100755
--- a/same-gnome-clutter/src/main.js
+++ b/same-gnome-clutter/src/main.js
@@ -81,7 +81,7 @@ ThemeLoader.load_theme(stage, theme);
 
 var board = new board.Board();
 stage.add_actor(board);
-stage.show_all();
+board.show();
 
 board.new_game();
 



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