fix: correct stale currentLyricKey ref → currentActive in updateMusic
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fdc68594d5
commit
b75cec0107
1 changed files with 1 additions and 1 deletions
|
|
@ -1344,7 +1344,7 @@ function updateMusic(artist, title) {
|
||||||
if (!playing) {
|
if (!playing) {
|
||||||
vuBars.forEach(b => { b.style.height = '3px'; b.style.opacity = '0.15'; });
|
vuBars.forEach(b => { b.style.height = '3px'; b.style.opacity = '0.15'; });
|
||||||
lyricDisplay.style.opacity = '0';
|
lyricDisplay.style.opacity = '0';
|
||||||
currentLyricKey = '';
|
currentActive = '';
|
||||||
}
|
}
|
||||||
if (playing) fetchCurrent();
|
if (playing) fetchCurrent();
|
||||||
const key = artist + '|' + title;
|
const key = artist + '|' + title;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue