fix(Map): Add ability to copy and past systems (UI part)

This commit is contained in:
DanSylvest
2025-10-14 14:34:47 +03:00
parent 8b4e38d795
commit ee68ce92a2
13 changed files with 218 additions and 24 deletions

View File

@@ -120,7 +120,7 @@ const MapComp = ({
useMapHandlers(refn, onSelectionChange);
useUpdateNodes(nodes);
const { handleRootContext, ...rootCtxProps } = useContextMenuRootHandlers({ onAddSystem });
const { handleRootContext, ...rootCtxProps } = useContextMenuRootHandlers({ onAddSystem, onCommand });
const { handleConnectionContext, ...connectionCtxProps } = useContextMenuConnectionHandlers();
const { update } = useMapState();
const { variant, gap, size, color } = useBackgroundVars(theme);