added work around for strange formatting error

This commit is contained in:
Eric Rowell 2012-07-01 20:58:13 -07:00
parent 3e0ed1c2fb
commit f8f46daafe
2 changed files with 10 additions and 8 deletions

View File

@ -2046,10 +2046,11 @@ Kinetic.Stage.prototype = {
return true; return true;
} }
// handle mousemove and touchmove // handle mousemove and touchmove
else {
else if(!isDragging && this.mouseMove) { if(!isDragging && this.mouseMove) {
shape._handleEvent('mousemove', evt); shape._handleEvent('mousemove', evt);
return true; return true;
}
} }
} }

View File

@ -477,10 +477,11 @@ Kinetic.Stage.prototype = {
return true; return true;
} }
// handle mousemove and touchmove // handle mousemove and touchmove
else {
else if(!isDragging && this.mouseMove) { if(!isDragging && this.mouseMove) {
shape._handleEvent('mousemove', evt); shape._handleEvent('mousemove', evt);
return true; return true;
}
} }
} }