Revision: 1050
Author: allain.lalonde
Date: Thu Aug 26 11:48:45 2010
Log: Removing errant console.log call
http://code.google.com/p/piccolo2d/source/detail?r=1050
Modified:
/piccolo2d.js/trunk/examples/events.html
=======================================
--- /piccolo2d.js/trunk/examples/events.html Thu Aug 26 11:38:14 2010
+++ /piccolo2d.js/trunk/examples/events.html Thu Aug 26 11:48:45 2010
@@ -76,8 +76,7 @@
var clickedNode = event.pickedNodes[0];
var globalTransform = clickedNode.getGlobalTransform();
var focusBounds = clickedNode.getGlobalFullBounds();
- var inverse = globalTransform.getInverse();
- console.log(clickedNode.getScale());
+ var inverse = globalTransform.getInverse();
inverse.translate((camera.bounds.width-focusBounds.width/clickedNode.getScale())/2,
(camera.bounds.height-focusBounds.height/clickedNode.getScale())/2);
camera.animateViewToTransform(inverse, 500);
--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en