fix loading stuck

This commit is contained in:
vapormusic 2021-12-22 12:15:31 +07:00
parent 7ca79d024d
commit 135793850a
2 changed files with 3 additions and 1 deletions

View file

@ -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) {