fix: correct stale currentLyricKey ref → currentActive in updateMusic

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ltadeu6 2026-06-08 17:07:41 -03:00
parent fdc68594d5
commit b75cec0107
No known key found for this signature in database
GPG key ID: FB9FDAB6B6F3418D

View file

@ -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;