mirror of
https://github.com/konvajs/konva.git
synced 2025-12-04 10:58:22 +08:00
added work around for strange formatting error
This commit is contained in:
5
dist/kinetic-core.js
vendored
5
dist/kinetic-core.js
vendored
@@ -2046,11 +2046,12 @@ Kinetic.Stage.prototype = {
|
||||
return true;
|
||||
}
|
||||
// handle mousemove and touchmove
|
||||
|
||||
else if(!isDragging && this.mouseMove) {
|
||||
else {
|
||||
if(!isDragging && this.mouseMove) {
|
||||
shape._handleEvent('mousemove', evt);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
// handle mouseout condition
|
||||
|
||||
@@ -477,11 +477,12 @@ Kinetic.Stage.prototype = {
|
||||
return true;
|
||||
}
|
||||
// handle mousemove and touchmove
|
||||
|
||||
else if(!isDragging && this.mouseMove) {
|
||||
else {
|
||||
if(!isDragging && this.mouseMove) {
|
||||
shape._handleEvent('mousemove', evt);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
// handle mouseout condition
|
||||
|
||||
Reference in New Issue
Block a user