[auto] show detected step direction in bottom-left corner

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
main
name 2026-04-11 17:53:06 -07:00
parent 8710c29a0d
commit b56f51fe31
2 changed files with 18 additions and 0 deletions

View File

@ -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%;

View File

@ -58,6 +58,9 @@ export function DebugApp() {
framingHint={framingHint}
/>
<ArrowGame ref={arrowGameRef} active={gameReady} />
{gameReady && gesture && (
<div className="detected-step">{gesture.replace('step-', '').toUpperCase()}</div>
)}
{settings.showDebug && (
<>
<StepGraphs