BoxOfColors commited on
Commit
4d46101
·
1 Parent(s): 3faf5c6

fix: remove CF label from crossfade hatch indicator

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -1776,15 +1776,6 @@ def _build_waveform_html(audio_path: str, segments: list, slot_id: str,
1776
  ctx.stroke();
1777
  }}
1778
  ctx.restore();
1779
- // Label — centred on the join boundary line, straddling both segments
1780
- ctx.fillStyle = 'rgba(255,255,255,0.6)';
1781
- ctx.font = 'bold 9px sans-serif';
1782
- const cfW = xR - xL;
1783
- const label = '\u21C4 CF'; // ⇄ CF
1784
- const lw = ctx.measureText(label).width;
1785
- if (cfW > lw + 4) {{
1786
- ctx.fillText(label, xL + (cfW - lw) / 2, H - 3);
1787
- }}
1788
  }}
1789
  }}
1790
 
 
1776
  ctx.stroke();
1777
  }}
1778
  ctx.restore();
 
 
 
 
 
 
 
 
 
1779
  }}
1780
  }}
1781