Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
@@ -310,6 +310,19 @@ export function XRHud({ freeMove, onToggleFreeMove, placementMode = false, onTog
|
|||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{/* Allow scale (two-hand zoom) toggle */}
|
||||||
|
{onToggleAllowScale && (
|
||||||
|
<Button
|
||||||
|
variant={allowScale ? 'default' : 'outline'}
|
||||||
|
size="sm" className="h-8 gap-1.5 text-[10px] font-mono"
|
||||||
|
onClick={onToggleAllowScale}
|
||||||
|
title="Zoom por grip duplo (afastar/aproximar as mãos)"
|
||||||
|
>
|
||||||
|
<RefreshCw className="h-3.5 w-3.5" />
|
||||||
|
{allowScale ? 'Zoom ON' : 'Zoom'}
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
|
|
||||||
{/* Scale presets */}
|
{/* Scale presets */}
|
||||||
<ScaleSelector variant="compact" />
|
<ScaleSelector variant="compact" />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user