Add buttons for adding point light and spot light entities

This commit is contained in:
2026-03-31 20:15:23 +02:00
parent 65be5a6432
commit 4724a7543d

View File

@@ -2975,6 +2975,15 @@ export function App({ store, initialStatusMessage }: AppProps) {
))}
</div>
)}
<div className="inline-actions">
<button className="toolbar__button" type="button" data-testid="add-entity-pointLight" onClick={() => handlePlaceEntity("pointLight")}>
Add Point Light
</button>
<button className="toolbar__button" type="button" data-testid="add-entity-spotLight" onClick={() => handlePlaceEntity("spotLight")}>
Add Spot Light
</button>
</div>
</div>
</Panel>
</aside>