mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-01-12 01:51:26 +00:00
This commit is contained in:
parent
490937a271
commit
13eab72944
2 changed files with 7 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ui",
|
||||
"version": "6.4.80",
|
||||
"version": "6.4.81",
|
||||
"license": "BUSL-1.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.15.5",
|
||||
|
|
|
|||
|
|
@ -467,8 +467,8 @@
|
|||
native.setActionHandler('play', playPause)
|
||||
native.setActionHandler('pause', playPause)
|
||||
native.setActionHandler('seekto', ({ seekTime }) => seekTo(seekTime ?? 0))
|
||||
native.setActionHandler('seekbackward', () => seek(-2))
|
||||
native.setActionHandler('seekforward', () => seek(2))
|
||||
native.setActionHandler('seekbackward', () => seek(-Number($settings.playerSeek)))
|
||||
native.setActionHandler('seekforward', () => seek(Number($settings.playerSeek)))
|
||||
native.setActionHandler('previoustrack', () => prev?.())
|
||||
native.setActionHandler('nexttrack', () => next?.())
|
||||
// about://flags/#auto-picture-in-picture-for-video-playback
|
||||
|
|
@ -873,6 +873,10 @@
|
|||
<SkipForward fill='currentColor' strokeWidth='1' />
|
||||
</Button>
|
||||
</div>
|
||||
<div class='size-full mobile:flex hidden justify-between absolute'>
|
||||
<div class='h-full w-1/4 pointer-events-auto' on:dblclick|stopPropagation={() => seek(-Number($settings.playerSeek))} />
|
||||
<div class='h-full w-1/4 pointer-events-auto' on:dblclick|stopPropagation={() => seek(Number($settings.playerSeek))} />
|
||||
</div>
|
||||
{/if}
|
||||
{#if buffering}
|
||||
<div in:fade={{ duration: 200, delay: 500 }} out:fade={{ duration: 200 }}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue