[gnome-games] [same-gnome-clutter] Don't show the "offscreen" source lights
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games] [same-gnome-clutter] Don't show the "offscreen" source lights
- Date: Thu, 16 Jul 2009 22:33:37 +0000 (UTC)
commit d4a27eddb14ce37274cd0d3771f5e93eeab94977
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]