From 8e860ac8c999fcf115329d6d480e38f6b1fee179 Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 6 Jan 2026 16:52:03 -0800 Subject: Fold: duplicated nodes get focus --- Scripts/Fold/Editor/FoldGraphView.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Scripts/Fold/Editor/FoldGraphView.cs') diff --git a/Scripts/Fold/Editor/FoldGraphView.cs b/Scripts/Fold/Editor/FoldGraphView.cs index 61eea86..d4a91dc 100644 --- a/Scripts/Fold/Editor/FoldGraphView.cs +++ b/Scripts/Fold/Editor/FoldGraphView.cs @@ -572,6 +572,10 @@ public class FoldGraphView : GraphView suppressGraphChanges = false; + ClearSelection(); + foreach (var newNode in cloneMap.Values) + AddToSelection(newNode); + MarkDirty(); } -- cgit v1.2.3