Mercurial > MadButterfly
changeset 849:d1c98eb474e1
Change the code to fit the change of the center of the transformation point.
author | wycc |
---|---|
date | Mon, 20 Sep 2010 21:49:23 +0800 |
parents | 702e4874a58a |
children | e6c107b2e271 |
files | nodejs/testdesktop.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/nodejs/testdesktop.js Mon Sep 20 21:47:21 2010 +0800 +++ b/nodejs/testdesktop.js Mon Sep 20 21:49:23 2010 +0800 @@ -63,7 +63,7 @@ return; } var target = lines[line]; - var sy = target.y-20-lightbar.y; + var sy = target.y-lightbar.y; sys.puts(sy); var an = new animate.linear(app,lightbar,0,sy,0.3); an.start(); @@ -76,7 +76,7 @@ return; } var target = lines[line]; - var sy = target.y-20-lightbar.y; + var sy = target.y-lightbar.y; sys.puts("line="+line); sys.puts("sy="+sy); sys.puts("target.y="+target.y);