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:
9
dist/kinetic-core.js
vendored
9
dist/kinetic-core.js
vendored
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user