This commit is contained in:
2026-10-17 12:56:49 -04:00
parent 5467ee79e2
commit 3a2df91a2a
5 changed files with 43 additions and 50 deletions
-7
View File
@@ -51,13 +51,6 @@ export function ItemPanel({ item, config, onPatch, onDelete, onClose }: Props) {
<div>
<div style={label}>Rotation</div>
<AngleDial value={item.rotation} disabled={item.locked} onChange={(v) => patch({ rotation: v })} />
<button
style={{ ...btn, marginTop: 8, width: "100%", opacity: item.locked ? 0.45 : 1 }}
disabled={item.locked}
onClick={() => patch({ rotation: (item.rotation + 90) % 360 })}
>
Rotate 90°
</button>
</div>
)}