diff options
| author | yum <yum.food.vr@gmail.com> | 2026-01-06 18:18:05 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-01-06 18:18:05 -0800 |
| commit | 317f8527bc1c0aedb234ecae331aeec18aeaf9bd (patch) | |
| tree | bc44dc70287d856b7f4c5a732db3e8ebcb123f8e /Scripts/Fold/Editor/FoldWindow.cs | |
| parent | b1bfb0400c65b2602670bb22eea50a8b9db285a8 (diff) | |
Fold: big rewrite
Diffstat (limited to 'Scripts/Fold/Editor/FoldWindow.cs')
| -rw-r--r-- | Scripts/Fold/Editor/FoldWindow.cs | 7 |
1 files changed, 0 insertions, 7 deletions
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)) |
