mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
RoundedRectangles Example: use onMouseDrag for now.
This commit is contained in:
parent
4e0bf98035
commit
f92da1297b
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
||||||
setInterval(draw, 30);
|
setInterval(draw, 30);
|
||||||
|
|
||||||
var tool = new Tool({
|
var tool = new Tool({
|
||||||
onMouseMove: function(event) {
|
onMouseDrag: function(event) {
|
||||||
mousePoint = event.point;
|
mousePoint = event.point;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue