diff --git a/static/index.html b/static/index.html index d7d8f02..0aa0de9 100644 --- a/static/index.html +++ b/static/index.html @@ -4,7 +4,7 @@ RhymePad — a scratchpad for poets & rappers - + @@ -124,11 +124,6 @@ only, so the textarea text on top stays crisp and box metrics stay identical (no horizontal padding!) */ .hseg { border-radius: 4px; } - .offbeat { - text-decoration: underline wavy color-mix(in srgb, var(--r6) 45%, transparent); - text-decoration-skip-ink: none; - text-underline-offset: 7px; - } .toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } @@ -152,13 +147,6 @@ .scheme-readout b { color: var(--accent-2); letter-spacing: 0.15em; } .scheme-readout .offline { color: var(--r6); letter-spacing: 0.02em; } - .mtoggle { - display: flex; align-items: center; gap: 6px; - color: var(--ink-dim); font-size: 12px; cursor: pointer; user-select: none; - } - .mtoggle input { accent-color: var(--accent); } - .mtoggle:hover { color: var(--ink); } - /* ---- side panel ---- */ aside { background: var(--panel); @@ -271,7 +259,6 @@ Double-click any word to look it up on the right.">
-
@@ -535,9 +522,7 @@ function render(){ h += `${text}`; } } - const m = meterToggle.checked && fresh && analysis.meter - ? analysis.meter.find(x=>x.l===i) : null; - html += (m && m.off ? `${h}` : h) + '\n'; + html += h + '\n'; }); highlight.innerHTML = html; highlight.scrollTop = editor.scrollTop; @@ -566,7 +551,6 @@ function buildReadout(){ const m = analysis && analysis.meter ? analysis.meter.find(x=>x.l===ln) : null; if(m){ let p = `${m.syl} syl` + (m.label ? ` · ${m.label}` : ''); - if(m.off && meterToggle.checked) p += ` · breaks stanza meter (~${m.target} syl)`; parts.push(p); } const st = caretStanza(); @@ -859,15 +843,6 @@ document.getElementById('exportBtn').addEventListener('click', async ()=>{ }); }); -/* ============================================================ - METER CHECK — toggleable wavy-underline warnings for lines - that break their stanza's syllable pattern. -============================================================ */ -const meterToggle = document.getElementById('meterToggle'); -// a per-session tool: always starts off, never persists -meterToggle.checked = false; -meterToggle.addEventListener('change', render); - /* ============================================================ COPY / CLEAR / SAMPLE ============================================================ */