Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
@@ -379,6 +379,34 @@ export function XRHud({ freeMove, onToggleFreeMove, placementMode = false, onTog
|
||||
</Button>
|
||||
)}
|
||||
|
||||
{/* Selection */}
|
||||
<Button
|
||||
variant={selectionMode ? 'default' : 'outline'}
|
||||
size="sm" className="h-8 gap-1.5 text-[10px] font-mono"
|
||||
onClick={() => setSelectionMode(!selectionMode)}
|
||||
title="Selecionar elementos (viga, chapa…) — gatilho direito alterna"
|
||||
>
|
||||
<MousePointerClick className="h-3.5 w-3.5" />
|
||||
{selectionMode ? (hasSelection ? `${selectedElementKeys.size} sel.` : 'Selec…') : 'Selec'}
|
||||
</Button>
|
||||
|
||||
{hasSelection && (
|
||||
<>
|
||||
<Button variant="ghost" size="icon" className="h-8 w-8" onClick={hideSelectedElements} title="Esconder">
|
||||
<EyeOff className="h-3.5 w-3.5" />
|
||||
</Button>
|
||||
<Button variant="ghost" size="icon" className="h-8 w-8" onClick={isolateSelectedElements} title="Isolar">
|
||||
<Focus className="h-3.5 w-3.5 text-primary" />
|
||||
</Button>
|
||||
</>
|
||||
)}
|
||||
{hasHidden && (
|
||||
<Button variant="ghost" size="icon" className="h-8 w-8" onClick={showAllElements} title="Mostrar tudo">
|
||||
<Eye className="h-3.5 w-3.5" />
|
||||
</Button>
|
||||
)}
|
||||
|
||||
|
||||
<Button variant="outline" size="icon" className="h-8 w-8" onClick={handleScreenshot} title="Screenshot">
|
||||
<Camera className="h-3.5 w-3.5" />
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user