mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-13 16:33:28 -04:00
Fix error in mousedown handler when using eventInterval.
This commit is contained in:
parent
a19f2020fb
commit
fa0b664312
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ var DocumentView = this.DocumentView = Base.extend({
|
|||
if (tool.onMouseDown)
|
||||
that.draw();
|
||||
if (tool.eventInterval != null)
|
||||
timer = setInterval(events.mousemove, tool.eventInterval);
|
||||
timer = setInterval(mousemove, tool.eventInterval);
|
||||
dragging = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue