Fix error in mousedown handler when using eventInterval.

This commit is contained in:
Jürg Lehni 2011-05-16 13:08:22 +01:00
parent a19f2020fb
commit fa0b664312

View file

@ -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;
}