mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-20 07:42:03 +00:00
fix: navigate to player on PiP media control
Some checks are pending
Check / check (push) Waiting to run
Some checks are pending
Check / check (push) Waiting to run
This commit is contained in:
parent
49427ed00d
commit
118d40d3c6
2 changed files with 6 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ui",
|
||||
"version": "6.4.77",
|
||||
"version": "6.4.78",
|
||||
"license": "BUSL-1.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.15.5",
|
||||
|
|
|
|||
|
|
@ -470,7 +470,10 @@
|
|||
native.setActionHandler('previoustrack', () => prev?.())
|
||||
native.setActionHandler('nexttrack', () => next?.())
|
||||
// about://flags/#auto-picture-in-picture-for-video-playback
|
||||
native.setActionHandler('enterpictureinpicture', () => pip.pip(true))
|
||||
native.setActionHandler('enterpictureinpicture', () => {
|
||||
goto('/app/player')
|
||||
pip.pip(true)
|
||||
})
|
||||
|
||||
let openSubs: () => Promise<void>
|
||||
|
||||
|
|
@ -560,10 +563,7 @@
|
|||
desc: 'Toggle Mute'
|
||||
},
|
||||
KeyP: {
|
||||
fn: () => {
|
||||
goto('/app/player')
|
||||
pip.pip()
|
||||
},
|
||||
fn: () => pip.pip(),
|
||||
id: 'picture_in_picture',
|
||||
icon: PictureInPicture2,
|
||||
type: 'icon',
|
||||
|
|
|
|||
Loading…
Reference in a new issue