# HG changeset patch # User Thinker K.F. Li # Date 1284993824 -28800 # Node ID ed49dc0a26f1d9be66ff2b752f3e65c7354d9c20 # Parent ea1e88c40548ab750dc41bad5713777379ed76ab Move lightbar to correct position when it being up diff -r ea1e88c40548 -r ed49dc0a26f1 nodejs/animate.js --- a/nodejs/animate.js Mon Sep 20 22:43:44 2010 +0800 +++ b/nodejs/animate.js Mon Sep 20 22:43:44 2010 +0800 @@ -139,7 +139,6 @@ mtx = multiply(scale, sh1); mtx = multiply(sh2, mtx); mtx = multiply(this.orig_mtx, mtx); - sys.puts([obj[0], obj[1], obj[2], obj[3], obj[4], obj[5]]); obj[0] = mtx[0]; obj[1] = mtx[1]; obj[2] = mtx[2]; diff -r ea1e88c40548 -r ed49dc0a26f1 nodejs/desktop.svg --- a/nodejs/desktop.svg Mon Sep 20 22:43:44 2010 +0800 +++ b/nodejs/desktop.svg Mon Sep 20 22:43:44 2010 +0800 @@ -154,15 +154,15 @@ inkscape:pageshadow="2" inkscape:zoom="1.56875" inkscape:cx="207.9" - inkscape:cy="240" + inkscape:cy="189.00398" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" - inkscape:window-width="1920" - inkscape:window-height="1006" - inkscape:window-x="0" - inkscape:window-y="25" - inkscape:window-maximized="1" /> + inkscape:window-width="1440" + inkscape:window-height="900" + inkscape:window-x="-1" + inkscape:window-y="-1" + inkscape:window-maximized="0" /> @@ -223,19 +223,19 @@ inkscape:bbox-width="85.598946" inkscape:bbox-height="84.588799"> + x="63.266537" + id="image2983" + height="84.588799" + width="85.598946" /> + x="63.00946" + id="image3048" + height="76.928574" + width="86.5" /> + x="63.624115" + id="image3049" + height="76.14286" + width="84" /> + x="63.521473" + id="image3168" + height="75.14286" + width="84.571426" /> Lim JeongHee (J.Lim) & JoKwon (2AM) - The Road to Break Up7:00-7:30 @@ -372,7 +372,7 @@ inkscape:transform-center-x="0" inkscape:transform-center-y="0" inkscape:bbox-x="126.28044" - inkscape:bbox-y="212.01578" + inkscape:bbox-y="210.01578" inkscape:bbox-width="488.15625" inkscape:bbox-height="32.382812" mbname="line2">Lim JeongHee (J.Lim) & JoKwon (2AM) - The Road to Break Up7:30-8:30 @@ -407,7 +407,7 @@ inkscape:transform-center-x="0" inkscape:transform-center-y="0" inkscape:bbox-x="126.05388" - inkscape:bbox-y="150.18311" + inkscape:bbox-y="152.18311" inkscape:bbox-width="488.38281" inkscape:bbox-height="32.382812" mbname="line3">Lim JeongHee (J.Lim) & JoKwon (2AM) - The Road to Break Up8:30-9:30 Lim JeongHee (J.Lim) & JoKwon (2AM) - The Road to Break Up9:30-10:30 @@ -477,7 +477,7 @@ inkscape:transform-center-x="0" inkscape:transform-center-y="0" inkscape:bbox-x="126.53825" - inkscape:bbox-y="26.517761" + inkscape:bbox-y="28.517761" inkscape:bbox-width="487.89844" inkscape:bbox-height="32.382812" mbname="line5">Lim JeongHee (J.Lim) & JoKwon (2AM) - The Road to Break Up10:30-11:30 diff -r ea1e88c40548 -r ed49dc0a26f1 nodejs/testdesktop.js --- a/nodejs/testdesktop.js Mon Sep 20 22:43:44 2010 +0800 +++ b/nodejs/testdesktop.js Mon Sep 20 22:43:44 2010 +0800 @@ -64,7 +64,7 @@ return; } var target = lines[line]; - var sy = target.center.y - 20 - lightbar.center.y; + var sy = target.center.y - lightbar.center.y; sys.puts(sy); var an = new animate.linear(app,lightbar,0,sy,0.3); an.start();