Mercurial > MadButterfly
diff nodejs/testdesktop.js @ 758:d11b0900f03c
Check in the dynamic menu example. Currently, it illustarte a bug in the renderer.
author | wycc |
---|---|
date | Sat, 28 Aug 2010 17:31:59 +0800 |
parents | ffbf9910213c |
children | 77b561bb7929 |
line wrap: on
line diff
--- a/nodejs/testdesktop.js Thu Aug 26 17:54:11 2010 +0800 +++ b/nodejs/testdesktop.js Sat Aug 28 17:31:59 2010 +0800 @@ -13,7 +13,7 @@ setting = app.get("setting"); items=[video,audio,picture,setting]; item = 2; -an = new animate.scale(app,items[item],1,1.5,0.3); +an = new animate.scale(app,items[item],1,2,0.1); an.start(); app.addKeyListener(mbapp.KEY_UP, function() { @@ -24,9 +24,9 @@ return; } var target = items[item]; - var an = new animate.scale(app,old,1,1,0.3); + var an = new animate.scale(app,old,1,1,0.1); an.start(); - an = new animate.scale(app,target,1,1.5,0.3); + an = new animate.scale(app,target,1,2,0.3); an.start(); }); @@ -38,9 +38,9 @@ return; } var target = items[item]; - var an = new animate.scale(app,old,1,1,0.3); + var an = new animate.scale(app,old,1,1,0.1); an.start(); - an = new animate.scale(app,target,1,1.5,0.3); + an = new animate.scale(app,target,1,2,0.3); an.start(); });