[auto] show detected step direction in bottom-left corner
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>main
parent
8710c29a0d
commit
b56f51fe31
15
src/App.css
15
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%;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue