From b56f51fe3176b1726f09a2f8434fb978f9080f74 Mon Sep 17 00:00:00 2001 From: name Date: Sat, 11 Apr 2026 17:53:06 -0700 Subject: [PATCH] [auto] show detected step direction in bottom-left corner Co-Authored-By: Claude Opus 4.6 (1M context) --- src/App.css | 15 +++++++++++++++ src/DebugApp.tsx | 3 +++ 2 files changed, 18 insertions(+) diff --git a/src/App.css b/src/App.css index 102e174..fac87de 100644 --- a/src/App.css +++ b/src/App.css @@ -76,6 +76,21 @@ z-index: 150; } +.detected-step { + position: fixed; + bottom: 24px; + left: 24px; + z-index: 40; + font-family: system-ui, sans-serif; + font-size: 28px; + font-weight: 800; + color: #00ffcc; + background: rgba(0, 0, 0, 0.7); + padding: 8px 16px; + border-radius: 8px; + pointer-events: none; +} + .framing-line { position: fixed; bottom: 15%; diff --git a/src/DebugApp.tsx b/src/DebugApp.tsx index 00f9072..34a90be 100644 --- a/src/DebugApp.tsx +++ b/src/DebugApp.tsx @@ -58,6 +58,9 @@ export function DebugApp() { framingHint={framingHint} /> + {gameReady && gesture && ( +
{gesture.replace('step-', '').toUpperCase()}
+ )} {settings.showDebug && ( <>