mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Fix delay instead of increasing it.
This commit is contained in:
parent
093b00220a
commit
c259245e76
1 changed files with 3 additions and 1 deletions
|
@ -211,7 +211,9 @@ export default {
|
||||||
|
|
||||||
if (Math.abs(delay) > 0.1) {
|
if (Math.abs(delay) > 0.1) {
|
||||||
this.audioplayer.currentTime =
|
this.audioplayer.currentTime =
|
||||||
this.player.currentTime() - delay;
|
delay > 0.2
|
||||||
|
? this.player.currentTime()
|
||||||
|
: this.player.currentTime() + delay;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue