new style layout

This commit is contained in:
codetypes committed 2025-03-21 13:22:13 +08:00
1 parent 195028b62c
commit bc8ee05844
8 files changed
+116 -56

No files matched your search

+1
View File
@@ -515,6 +515,7 @@ export const useWorkspace = create<WorkspaceStore>((set, get) => ({
}
set({ editing: editor, editingNode: null, editingTree: null });
if (editor) {
workspace.refresh(editor.path);
if (!editor.editNode) {
workspace.onEditingTree(editor);
} else if (typeof editor.editNode === "object") {