diff --git a/src/components/three/XRHudInWorld.tsx b/src/components/three/XRHudInWorld.tsx index 95a26a2..ce1921b 100644 --- a/src/components/three/XRHudInWorld.tsx +++ b/src/components/three/XRHudInWorld.tsx @@ -135,7 +135,15 @@ export function XRHudInWorld(props: XRHudInWorldProps) { ); } -function FloatingPanel({ tab, setTab, ...p }: { tab: Tab; setTab: (t: Tab) => void } & XRHudInWorldProps) { +function FloatingPanel({ + tab, setTab, pinned, onTogglePin, onRecenter, ...p +}: { + tab: Tab; + setTab: (t: Tab) => void; + pinned: boolean; + onTogglePin: () => void; + onRecenter: () => void; +} & XRHudInWorldProps) { const tabs: { id: Tab; label: string; icon: string }[] = [ { id: 'scene', label: 'Cena', icon: '🧩' }, { id: 'tools', label: 'Ferram.', icon: '🛠' }, @@ -150,10 +158,14 @@ function FloatingPanel({ tab, setTab, ...p }: { tab: Tab; setTab: (t: Tab) => vo anchorX="left" anchorY="middle"> TrackSteelXR · HUD AR - - Botão A (esq) abre/fecha - + {/* Pin / Recenter controls (replace the previous static "A button" hint) */} + + + + {tabs.map((t, i) => (