diff --git a/static/index.html b/static/index.html
index df488f2..61b3410 100644
--- a/static/index.html
+++ b/static/index.html
@@ -225,9 +225,6 @@
.tempo-row input[type=range] { flex:1; accent-color: var(--accent); }
.tempo-val { font-variant-numeric: tabular-nums; color: var(--accent-2); min-width: 64px; text-align:right; font-size:13px;}
.beat-controls { display:flex; gap:8px; margin-top:12px; }
- .legend { margin-top: 14px; }
- .legend-item { display:flex; align-items:center; gap:8px; font-size:12px; margin:5px 0; color: var(--ink-dim); }
- .swatch { width:14px; height:14px; border-radius:4px; }
footer { grid-column: 1 / -1; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #3a342d; border-radius: 6px; border: 2px solid var(--panel); }
@@ -280,10 +277,6 @@ Double-click any word to look it up on the right.">
@@ -491,7 +484,6 @@ function render(){
highlight.scrollTop = editor.scrollTop;
highlight.scrollLeft = editor.scrollLeft;
buildReadout();
- buildLegend();
}
function caretLine(){
@@ -523,23 +515,10 @@ function buildReadout(){
schemeReadout.innerHTML = parts.join(' ');
}
-function buildLegend(){
- const box = document.getElementById('legendBox');
- const st = caretStanza();
- if(!st || !st.legend.length){ box.innerHTML = '
No rhymes detected yet.
'; return; }
- box.innerHTML = st.legend.map(l=>{
- const sw = l.color === null
- ? `
`
- : `
`;
- const note = l.color === null ? ' — no rhyme' : (l.slant ? ' — slant' : '');
- return `
${sw} ending “${l.ch}”${note}
`;
- }).join('');
-}
-
editor.addEventListener('input', ()=>{ render(); analyzeSoon(); });
editor.addEventListener('scroll', ()=>{ highlight.scrollTop = editor.scrollTop; highlight.scrollLeft = editor.scrollLeft; });
-editor.addEventListener('keyup', ()=>{ buildReadout(); buildLegend(); });
-editor.addEventListener('click', ()=>{ buildReadout(); buildLegend(); });
+editor.addEventListener('keyup', buildReadout);
+editor.addEventListener('click', buildReadout);
/* ---------- double-click a word -> look it up ---------- */
editor.addEventListener('dblclick', ()=>{