mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-20 19:52:04 +00:00
This commit is contained in:
parent
c5ca279227
commit
6b37f517c9
2 changed files with 6 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ui",
|
||||
"version": "6.4.70",
|
||||
"version": "6.4.71",
|
||||
"license": "BUSL-1.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.15.5",
|
||||
|
|
|
|||
|
|
@ -702,6 +702,7 @@
|
|||
const startFF = () => {
|
||||
clearTimeout(timeout)
|
||||
timeout = setTimeout(() => {
|
||||
if (fastForwarding) return
|
||||
paused = false
|
||||
fastForwarding = true
|
||||
oldPlaybackRate = playbackRate
|
||||
|
|
@ -710,11 +711,10 @@
|
|||
}
|
||||
const endFF = () => {
|
||||
clearTimeout(timeout)
|
||||
if (fastForwarding) {
|
||||
fastForwarding = false
|
||||
playbackRate = oldPlaybackRate
|
||||
paused = true
|
||||
}
|
||||
if (!fastForwarding) return
|
||||
fastForwarding = false
|
||||
playbackRate = oldPlaybackRate
|
||||
paused = true
|
||||
}
|
||||
document.addEventListener(type + 'down' as 'keydown' | 'pointerdown', event => {
|
||||
if (isMiniplayer) return
|
||||
|
|
|
|||
Loading…
Reference in a new issue