some lyrics fixes: disable click on unsynced & fix waiting dot

This commit is contained in:
vapormusic 2021-12-08 22:41:49 +07:00
parent 71d75f4fae
commit a88d7f93fb
2 changed files with 7 additions and 4 deletions

View file

@ -1047,7 +1047,10 @@ const app = new Vue({
})
}
}
}
} else if (app.currentLyricsLine == 0) {
if (!document.querySelector(`.lyric-line[line-index="0"]`).classList.contains("active"))
document.querySelector(`.lyric-line[line-index="0"]`).classList.add("active");
}
break;
}
}