fix loading stuck
This commit is contained in:
parent
7ca79d024d
commit
135793850a
2 changed files with 3 additions and 1 deletions
|
@ -826,9 +826,11 @@ const app = new Vue({
|
|||
a = []
|
||||
} finally {
|
||||
this.showingPlaylist = a
|
||||
this.playlists.loadingState = 1
|
||||
}
|
||||
} finally {
|
||||
this.showingPlaylist = a
|
||||
this.playlists.loadingState = 1
|
||||
}
|
||||
;
|
||||
},
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
methods: {
|
||||
getActiveLyric() {
|
||||
// console.log(this.time);
|
||||
const delayfix = 0.35
|
||||
const delayfix = 0.1
|
||||
const prevLine = app.currentLyricsLine;
|
||||
for (var i = 0; i < this.lyrics.length; i++) {
|
||||
if (this.time + delayfix >= this.lyrics[i].startTime && this.time + delayfix <= app.lyrics[i].endTime) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue