Fix delay instead of increasing it.

This commit is contained in:
FireMasterK 2020-11-17 11:16:24 +05:30
parent 093b00220a
commit c259245e76

View file

@ -211,7 +211,9 @@ export default {
if (Math.abs(delay) > 0.1) {
this.audioplayer.currentTime =
this.player.currentTime() - delay;
delay > 0.2
? this.player.currentTime()
: this.player.currentTime() + delay;
}
}
});