mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-23 07:49:48 -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)
|
// and server (rendering)
|
||||||
/*#*/ if (options.browser) {
|
/*#*/ if (options.browser) {
|
||||||
var tool,
|
var tool,
|
||||||
timer,
|
|
||||||
curPoint,
|
curPoint,
|
||||||
tempFocus,
|
tempFocus,
|
||||||
dragging = false;
|
dragging = false;
|
||||||
|
@ -519,8 +518,6 @@ var View = this.View = Base.extend(Callback, /** @lends View# */{
|
||||||
dragging = false;
|
dragging = false;
|
||||||
curPoint = null;
|
curPoint = null;
|
||||||
if (tool) {
|
if (tool) {
|
||||||
if (timer != null)
|
|
||||||
timer = clearInterval(timer);
|
|
||||||
if (tool.onHandleEvent('mouseup', viewToProject(view, event),
|
if (tool.onHandleEvent('mouseup', viewToProject(view, event),
|
||||||
event)) {
|
event)) {
|
||||||
view.draw(true);
|
view.draw(true);
|
||||||
|
|
Loading…
Reference in a new issue