show node group in inspector

This commit is contained in:
codetypes committed 2025-03-20 23:19:42 +08:00
1 parent 170dffb82c
commit 195028b62c
7 files changed
+87 -60

No files matched your search

+3
View File
@@ -578,11 +578,14 @@ export const Editor: FC<EditorProps> = ({ onUpdate: updateState, data: editor, .
refreshHighlight(editor.root);
}
if (names.length === 0 && editor.searchingText) {
const matrix = editor.graphMatrix;
onSearchChange({
...filterOption,
filterType: "content",
filterStr: editor.searchingText,
});
editor.graphMatrix = matrix;
restoreViewport();
}
};