mirror of
https://github.com/konvajs/konva.git
synced 2025-10-08 00:14:23 +08:00
Setting DD.node to null instead of deleting
In the footsteps of my previous commit. This one replaces the deletion of DD.node with setting it to null.
This commit is contained in:
@@ -93,7 +93,7 @@ export const DD = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
delete DD.node;
|
DD.node = null;
|
||||||
|
|
||||||
if (layer || node instanceof getGlobalKonva().Stage) {
|
if (layer || node instanceof getGlobalKonva().Stage) {
|
||||||
(layer || node).draw();
|
(layer || node).draw();
|
||||||
|
Reference in New Issue
Block a user