diff --git a/src/stores/editor.ts b/src/stores/editor.ts index 764b04b91..aa3fb1059 100644 --- a/src/stores/editor.ts +++ b/src/stores/editor.ts @@ -103,7 +103,7 @@ export function createEditorStore() { const nodes: SceneNode[] = [] for (const id of state.selectedIds) { const n = graph.getNode(id) - if (n) nodes.push(n) + if (n) nodes.push({ ...n }) } return nodes })