diff nodejs/testdesktop.js @ 776:77b561bb7929

Implement new algorithm to calculate the origin of the SVG elemnts so that we can implement object resize without changing the position of the object. However, the image does not work here since it does not use the transformation of the group.
author wycc
date Mon, 30 Aug 2010 08:56:44 +0800
parents d11b0900f03c
children f84ccf1f59ae
line wrap: on
line diff
--- a/nodejs/testdesktop.js	Sun Aug 29 23:58:43 2010 +0800
+++ b/nodejs/testdesktop.js	Mon Aug 30 08:56:44 2010 +0800
@@ -12,8 +12,8 @@
 picture = app.get("picture");
 setting = app.get("setting");
 items=[video,audio,picture,setting];
-item = 2;
-an = new animate.scale(app,items[item],1,2,0.1);
+item = 0;
+an = new animate.scale(app,items[item],1,2,10);
 an.start();
 
 app.addKeyListener(mbapp.KEY_UP, function() {