[gnome-games] lightsoff: Make sure cached textures are hidden



commit 551b04566fa3ae2b1875af5d2068b972215802d8
Author: Tim Horton <hortont424 gmail com>
Date:   Sat Oct 10 17:00:43 2009 -0400

    lightsoff: Make sure cached textures are hidden

 lightsoff/src/ThemeLoader.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lightsoff/src/ThemeLoader.js b/lightsoff/src/ThemeLoader.js
index c30d5d2..1367f69 100644
--- a/lightsoff/src/ThemeLoader.js
+++ b/lightsoff/src/ThemeLoader.js
@@ -18,7 +18,10 @@ function load_theme(stage, theme)
 	theme.loaded = true;
 
 	for(actor in theme.textures)
+	{
 		stage.add_actor(theme.textures[actor]);
+		theme.textures[actor].hide();
+	}
 }
 
 function load_themes()



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