Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-05-20 18:49:30 +00:00
parent 249251fa31
commit 9b15f24259
+17
View File
@@ -146,6 +146,23 @@ export function ViewerControls() {
</PopoverContent> </PopoverContent>
</Popover> </Popover>
)} )}
{/* Posicionar (manual mouse placement) */}
<Button
variant={positionMode ? 'default' : 'outline'}
size="sm"
className="gap-2 h-9"
onClick={() => setPositionMode(!positionMode)}
disabled={!activeModelId}
title="Arraste: mover · Shift+arraste ou meio: profundidade · Direito: girar · Shift+direito: rotZ"
>
<Move3D className="h-3.5 w-3.5" />
<span className="font-mono text-xs">
{positionMode
? `Posicionando${activeModel ? ` · ${activeModel.fileName.slice(0, 14)}` : ''}`
: 'Posicionar'}
</span>
</Button>
{/* Measure tool */} {/* Measure tool */}
<div className="flex items-end gap-1.5"> <div className="flex items-end gap-1.5">
<Button <Button