Fix 5th fret line - extend to left edge instead of right
The 5th fret line now extends to the left edge of the diagram (where the 5th string starts) instead of the right edge. https://claude.ai/code/session_01VSHtwaMJKL1ZgH33JDcwbY
+3 −4 · 1 file changed
-
index.html+3 −4
@@ -2420,11 +2420,10 @@ // Extend line for marker frets if (markerFrets.includes(fret)) { + lineEndX += 20; if (fret === 5) { - // 5th fret extends all the way to the right edge - lineEndX = svgWidth - 10; - } else { - lineEndX += 20; + // 5th fret extends to the left edge (where 5th string starts) + lineStartX = 10; } }