mirror of
https://github.com/konvajs/konva.git
synced 2026-01-09 11:34:38 +08:00
when parent and children are both draggable, the lowest level child draggable property now has priority over ancestors. Refactored dependency order in thorfile
This commit is contained in:
@@ -138,4 +138,10 @@
|
||||
var raf = Kinetic.DD && Kinetic.DD.moving ? this.fixedRequestAnimFrame : RAF;
|
||||
raf(callback);
|
||||
};
|
||||
|
||||
var moveTo = Kinetic.Node.prototype.moveTo;
|
||||
Kinetic.Node.prototype.moveTo = function(container) {
|
||||
moveTo.call(this, container);
|
||||
};
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user