Skip to content

Commit

Permalink
trigger reload on pasted nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
MFA-X-AI committed Oct 10, 2024
1 parent b0de997 commit 3384e7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/NodeActionCommands.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ export function addNodeActionCommands(

placeNodes(engine, model, newNodeModels, widget.mousePosition, centerX, centerY);
recreateLinks(engine, model, clipboardLinks, idMap, widget.mousePosition, centerX, centerY);
app.commands.execute(commandIDs.reloadNode);
engine.repaintCanvas();
}

Expand Down

0 comments on commit 3384e7c

Please sign in to comment.