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