From 317f8527bc1c0aedb234ecae331aeec18aeaf9bd Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 6 Jan 2026 18:18:05 -0800 Subject: Fold: big rewrite --- Scripts/Fold/Editor/FoldWindow.cs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Scripts/Fold/Editor/FoldWindow.cs') diff --git a/Scripts/Fold/Editor/FoldWindow.cs b/Scripts/Fold/Editor/FoldWindow.cs index 3ba556c..f0f9b42 100644 --- a/Scripts/Fold/Editor/FoldWindow.cs +++ b/Scripts/Fold/Editor/FoldWindow.cs @@ -21,7 +21,6 @@ public class FoldWindow : EditorWindow { graphAsset = LoadOrCreateGraph(); ConstructGraphView(); - Undo.undoRedoPerformed += OnUndoRedo; } void OnDisable() @@ -34,7 +33,6 @@ public class FoldWindow : EditorWindow } AssetDatabase.SaveAssets(); - Undo.undoRedoPerformed -= OnUndoRedo; } void OnFocus() @@ -77,11 +75,6 @@ public class FoldWindow : EditorWindow rootVisualElement.Add(graphView); } - void OnUndoRedo() - { - graphView?.Reload(); - } - public void ShowNotification(string message) { if (string.IsNullOrEmpty(message)) -- cgit v1.2.3