Plops editor: focus mode, place/move/resize, semantic zoom (#15)
Build image / build-and-push (push) Successful in 14s

Co-authored-by: Steve Dudenhoeffer <[email protected]>
This commit was merged in pull request #34.
This commit is contained in:
2026-07-19 03:22:51 +00:00
committed by steve
parent f4e5dab98c
commit 48ba08e8f2
14 changed files with 1084 additions and 73 deletions
+8
View File
@@ -26,10 +26,12 @@ export function Inspector({
object,
gardenId,
unit,
onFocus,
}: {
object: EditorObject
gardenId: number
unit: UnitPref
onFocus?: () => void
}) {
const update = useUpdateObject(gardenId)
const del = useDeleteObject(gardenId)
@@ -94,6 +96,12 @@ export function Inspector({
</button>
</div>
{object.plantable && onFocus && (
<Button onClick={onFocus} className="w-full">
🌱 Plant here
</Button>
)}
<TextField
label="Name"
name="name"