mirror of
https://github.com/konvajs/konva.git
synced 2025-12-29 18:34:36 +08:00
Fix for issue #640
This commit is contained in:
@@ -182,8 +182,13 @@
|
||||
};
|
||||
|
||||
Kinetic.Node.prototype._dragCleanup = function() {
|
||||
this.off('mousedown.kinetic');
|
||||
this.off('touchstart.kinetic');
|
||||
if (this.getClassName() === 'Stage') {
|
||||
this.off('contentMousedown.kinetic');
|
||||
this.off('contentTouchstart.kinetic');
|
||||
} else {
|
||||
this.off('mousedown.kinetic');
|
||||
this.off('touchstart.kinetic');
|
||||
}
|
||||
};
|
||||
|
||||
Kinetic.Node.addGetterSetter(Kinetic.Node, 'dragBoundFunc');
|
||||
|
||||
Reference in New Issue
Block a user