Fix lesson 2: fretted strings show no marker, only open/muted

This commit is contained in:
Sterling Archer
2026-06-13 21:54:11 -07:00
parent 9abb9c532f
commit 7514224368
+2 -1
View File
@@ -984,12 +984,13 @@ function LessonBody({ id, detected, onTarget, listening, onStartMic }) {
fill={C.sage} fontFamily="monospace" fontWeight="700">0</text>
</g>
);
return (
if(type==="muted") return (
<g key={s}>
<line x1={cx-6} y1={cy-6} x2={cx+6} y2={cy+6} stroke={C.coral} strokeWidth={2.5}/>
<line x1={cx+6} y1={cy-6} x2={cx-6} y2={cy+6} stroke={C.coral} strokeWidth={2.5}/>
</g>
);
return null;
})}
{/* Fret numbers */}
{Array.from({length:NUM_FRETS},(_,f)=>(