Commit 1c638e1
fix: restore transcription word highlighting during audio playback
Re-wire highlightCurrentSection() and clearHighlighting() which became
dead code when the HTML5 audio element was replaced with the Rust cpal
engine. The visualizer loop now highlights the active transcription
section each frame, and pause/ended clear the highlight.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9a332b0 commit 1c638e1
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1529 | 1529 | | |
1530 | 1530 | | |
1531 | 1531 | | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
1532 | 1536 | | |
1533 | 1537 | | |
1534 | 1538 | | |
| |||
1674 | 1678 | | |
1675 | 1679 | | |
1676 | 1680 | | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
1677 | 1685 | | |
1678 | 1686 | | |
1679 | 1687 | | |
| |||
1811 | 1819 | | |
1812 | 1820 | | |
1813 | 1821 | | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
1814 | 1826 | | |
1815 | 1827 | | |
1816 | 1828 | | |
| |||
0 commit comments