From 9c435cc694b7ceba5b11bebbfc2caa204079d5ba Mon Sep 17 00:00:00 2001
From: "gpt-engineer-app[bot]"
<159125892+gpt-engineer-app[bot]@users.noreply.github.com>
Date: Fri, 15 May 2026 11:45:20 +0000
Subject: [PATCH] Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
---
src/components/three/XRHudInWorld.tsx | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/src/components/three/XRHudInWorld.tsx b/src/components/three/XRHudInWorld.tsx
index 3c0eb3c..48f5bbe 100644
--- a/src/components/three/XRHudInWorld.tsx
+++ b/src/components/three/XRHudInWorld.tsx
@@ -168,12 +168,14 @@ export function XRHudInWorld(props: XRHudInWorldProps) {
}
function FloatingPanel({
- tab, setTab, pinned, onTogglePin, onRecenter, ...p
+ tab, setTab, pinned, onTogglePin, dragging, onToggleDrag, onRecenter, ...p
}: {
tab: Tab;
setTab: (t: Tab) => void;
pinned: boolean;
onTogglePin: () => void;
+ dragging: boolean;
+ onToggleDrag: () => void;
onRecenter: () => void;
} & XRHudInWorldProps) {
const tabs: { id: Tab; label: string; icon: string }[] = [
@@ -190,13 +192,20 @@ function FloatingPanel({
anchorX="left" anchorY="middle">
TrackSteelXR · HUD AR
- {/* Pin / Recenter controls (replace the previous static "A button" hint) */}
-
-
+ {/* Trazer (recenter) — rightmost, half-width 0.029 from origin */}
+
+ {/* Mover (drag with right controller) */}
+
+ {/* Pin */}
+
-