Fix lesson 2: fretted strings show no marker, only open/muted
This commit is contained in:
1 parent
9abb9c532f
commit
7514224368
1 file changed
+2
-1
+2
-1
@@ -984,12 +984,13 @@ function LessonBody({ id, detected, onTarget, listening, onStartMic }) {
|
|||||||
fill={C.sage} fontFamily="monospace" fontWeight="700">0</text>
|
fill={C.sage} fontFamily="monospace" fontWeight="700">0</text>
|
||||||
</g>
|
</g>
|
||||||
);
|
);
|
||||||
return (
|
if(type==="muted") return (
|
||||||
<g key={s}>
|
<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}/>
|
||||||
<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>
|
</g>
|
||||||
);
|
);
|
||||||
|
return null;
|
||||||
})}
|
})}
|
||||||
{/* Fret numbers */}
|
{/* Fret numbers */}
|
||||||
{Array.from({length:NUM_FRETS},(_,f)=>(
|
{Array.from({length:NUM_FRETS},(_,f)=>(
|
||||||
|
|||||||
Reference in new issue
Block a user