mirror of
https://github.com/kennethreitz/rhymepad.org.git
synced 2026-06-11 17:08:33 +00:00
Drop a stray measurement line in the export dot loop
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -878,7 +878,6 @@ document.getElementById('exportBtn').addEventListener('click', async ()=>{
|
||||
x.font = "8px 'Spline Sans Mono', monospace";
|
||||
x.textAlign = 'center';
|
||||
spans.forEach(s=>{
|
||||
const x0 = PAD + x.measureText(line.slice(0, s.s)).width * 2;
|
||||
// measure with the body font for positions
|
||||
x.font = font;
|
||||
const left = PAD + x.measureText(line.slice(0, s.s)).width;
|
||||
|
||||
Reference in New Issue
Block a user