fix: make clipboard work

This commit is contained in:
Max Richter
2025-12-01 19:30:44 +01:00
parent 7e51cc5ea1
commit 1850e21810
3 changed files with 22 additions and 23 deletions

View File

@@ -37,14 +37,14 @@ export function setupKeymaps(keymap: Keymap, graph: GraphManager, graphState: Gr
key: "c",
ctrl: true,
description: "Copy active nodes",
callback: graphState.copyNodes,
callback: () => graphState.copyNodes(),
});
keymap.addShortcut({
key: "v",
ctrl: true,
description: "Paste nodes",
callback: graphState.pasteNodes,
callback: () => graphState.pasteNodes(),
});
keymap.addShortcut({