captions for mv

This commit is contained in:
vapormusic 2021-12-07 22:25:04 +07:00
parent 9ac4c753dd
commit d710254ba8
3 changed files with 17 additions and 2 deletions

View file

@ -140,7 +140,8 @@ const app = new Vue({
this.mk.addEventListener(MusicKit.Events.playbackTimeDidChange, (a) => {
self.playerLCD.playbackDuration = (self.mk.currentPlaybackTime)
self.lyriccurrenttime = app.mk.currentPlaybackTime;
app.getActiveLyric()
if (self.lyricon) app.getActiveLyric();
// animated dot like AM - bad perf
if (self.lyricon && self.drawertest){
let currentLine = document.querySelector(`.lyric-line.active`)