diff --git a/packages/inspector/src/App.tsx b/packages/inspector/src/App.tsx
index 956c74f7..f410f307 100644
--- a/packages/inspector/src/App.tsx
+++ b/packages/inspector/src/App.tsx
@@ -18,6 +18,7 @@ export default function App({
toggleOpen,
isSelectMode,
toggleSelectMode,
+ collapseTree,
}: {
entity: Entity;
getSelectedEntity: () => null | Entity;
@@ -30,6 +31,7 @@ export default function App({
toggleOpen: () => void;
isSelectMode: boolean;
toggleSelectMode: () => void;
+ collapseTree: () => void;
}) {
let ent = entity;
@@ -64,6 +66,7 @@ export default function App({
toggleOpen={toggleOpen}
runLoop={runLoop}
error={error}
+ collapseTree={collapseTree}
/>
) : null}
@@ -78,10 +81,8 @@ export default function App({
right: 0,
bottom: 0,
width: "33vw",
- overflow: "auto",
backgroundColor: "rgba(255, 255, 255, 0.75)",
boxShadow: "0px 0px 10px rgba(0, 0, 0, 0.5)",
-
display: "flex",
flexDirection: "column",
height: "100%",
@@ -103,9 +104,10 @@ export default function App({
toggleOpen={toggleOpen}
runLoop={runLoop}
error={error}
+ collapseTree={collapseTree}
/>
) : null}
-
+
;
@@ -19,6 +20,7 @@ export default function Controls({
toggleOpen,
isSelectMode,
toggleSelectMode,
+ collapseTree,
}: {
runLoop: RunLoopAPI;
error: Error | null;
@@ -26,6 +28,7 @@ export default function Controls({
toggleOpen: () => void;
isSelectMode: boolean;
toggleSelectMode: () => void;
+ collapseTree: () => void;
}) {
return (
+ {isOpen && (
+
+ )}
{runLoop.isPaused() ? (
<>