Skip to content

Commit 18205a4

Browse files
committed
open parent entities when child is selected
1 parent 64a7a47 commit 18205a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editor/client/ui/scene-graph.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,7 @@ export class SceneGraph implements InspectorUIWidget {
794794
if (entity && ui.selectedEntity.entities.includes(entity)) {
795795
entry.classList.add("selected");
796796
this.scrollToEntity(entry);
797+
this.openParentNodes(entry);
797798
} else {
798799
entry.classList.remove("selected");
799800
}

0 commit comments

Comments
 (0)