seed r527 - trunk/examples/lightsoff



Author: racarr
Date: Sun Dec 21 01:46:56 2008
New Revision: 527
URL: http://svn.gnome.org/viewvc/seed?rev=527&view=rev

Log:
I fail at GIT.

Modified:
   trunk/examples/lightsoff/board.js
   trunk/examples/lightsoff/light.js

Modified: trunk/examples/lightsoff/board.js
==============================================================================
--- trunk/examples/lightsoff/board.js	(original)
+++ trunk/examples/lightsoff/board.js	Sun Dec 21 01:46:56 2008
@@ -105,6 +105,8 @@
 	}
 }
 
+Seed.import_namespace("GObject");
+
 function flip_region (act, evt, light)
 {
 	if(!in_setup && in_fade)
@@ -114,6 +116,7 @@
 	var y = light.light_y;
 	
 	var fadeline = new Clutter.Timeline({num_frames: 20});
+	Seed.print(fadeline.__debug_ref_count());
 	
 	light.flip(fadeline);
 	

Modified: trunk/examples/lightsoff/light.js
==============================================================================
--- trunk/examples/lightsoff/light.js	(original)
+++ trunk/examples/lightsoff/light.js	Sun Dec 21 01:46:56 2008
@@ -33,6 +33,8 @@
 			
 			Clutter.effect_fade(effect, this.on, this.state * 255);
 			Clutter.effect_scale(effect, this, this.state?1:.9, this.state?1:.9);
+		
+		    this.opacity = this.state * 255;
 			
 			return true;
 		}



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