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;
|
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;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// handle mouseout condition
|
// handle mouseout condition
|
||||||
|
|||||||
@@ -477,11 +477,12 @@ 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;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// handle mouseout condition
|
// handle mouseout condition
|
||||||
|
|||||||
Reference in New Issue
Block a user