Examples: update Circles.html to create a new path on every mouse down.

This commit is contained in:
Jonathan Puckey 2011-02-12 18:12:25 +01:00
parent 9487e48854
commit a81f1eb698

View file

@ -31,6 +31,10 @@
path = new Path.Circle(event.downPoint, distance);
path.strokeColor = 'black';
path.fillColor = 'white';
},
onMouseUp: function(event) {
path = null;
}
});
tool.document = doc;