From 73bdecef2bf2fe7f70b75b3ae19e010befeddb95 Mon Sep 17 00:00:00 2001 From: plus_one Date: Sat, 17 Oct 2026 21:36:14 -0400 Subject: [PATCH] Give entrance its own dedicated section separate from objects --- dist/index.html | 2 +- src/components/ControlPanel.tsx | 98 ++++++++++++++++----------------- 2 files changed, 48 insertions(+), 52 deletions(-) diff --git a/dist/index.html b/dist/index.html index e634b55..0cca11c 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,7 +5,7 @@ furniture-app - + diff --git a/src/components/ControlPanel.tsx b/src/components/ControlPanel.tsx index 222755f..7d0d7a7 100644 --- a/src/components/ControlPanel.tsx +++ b/src/components/ControlPanel.tsx @@ -284,64 +284,60 @@ export function ControlPanel({
Scene
-
- +
+ +
+
Entrance
+ {state.entrance ? ( + <> +
+ + + + +
+ + + ) : ( + - -
+ )}
Objects
{objects.map(renderObjectCard)}
- - {state.entrance && ( -
-
onSelect('__entrance__')}> - - Entrance - fixed -
- {selectedId === '__entrance__' && ( -
-
- - - - -
-
- )} -
- )}
)}