mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Remove #idleInterval left-overs.
This commit is contained in:
parent
fcd92c4ac1
commit
acbebc2aa4
1 changed files with 0 additions and 3 deletions
|
@ -455,7 +455,6 @@ var View = this.View = Base.extend(Callback, /** @lends View# */{
|
|||
// and server (rendering)
|
||||
/*#*/ if (options.browser) {
|
||||
var tool,
|
||||
timer,
|
||||
curPoint,
|
||||
tempFocus,
|
||||
dragging = false;
|
||||
|
@ -519,8 +518,6 @@ var View = this.View = Base.extend(Callback, /** @lends View# */{
|
|||
dragging = false;
|
||||
curPoint = null;
|
||||
if (tool) {
|
||||
if (timer != null)
|
||||
timer = clearInterval(timer);
|
||||
if (tool.onHandleEvent('mouseup', viewToProject(view, event),
|
||||
event)) {
|
||||
view.draw(true);
|
||||
|
|
Loading…
Reference in a new issue