mirror of
https://github.com/konvajs/konva.git
synced 2025-12-20 03:59:52 +08:00
better working without D&D module
This commit is contained in:
@@ -135,7 +135,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
// if node under drag we need to update drag animation
|
// if node under drag we need to update drag animation
|
||||||
if (child.isDragging()) {
|
if (Konva.DD && child.isDragging()) {
|
||||||
Konva.DD.anim.setLayers(child.getLayer());
|
Konva.DD.anim.setLayers(child.getLayer());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user