mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
@@ -198,8 +198,13 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
Kinetic.Node.prototype._dragCleanup = function() {
|
Kinetic.Node.prototype._dragCleanup = function() {
|
||||||
this.off('mousedown.kinetic');
|
if (this.getClassName() === 'Stage') {
|
||||||
this.off('touchstart.kinetic');
|
this.off('contentMousedown.kinetic');
|
||||||
|
this.off('contentTouchstart.kinetic');
|
||||||
|
} else {
|
||||||
|
this.off('mousedown.kinetic');
|
||||||
|
this.off('touchstart.kinetic');
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Kinetic.Factory.addGetterSetter(Kinetic.Node, 'dragBoundFunc');
|
Kinetic.Factory.addGetterSetter(Kinetic.Node, 'dragBoundFunc');
|
||||||
|
|||||||
Reference in New Issue
Block a user