mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-01-12 02:21:49 +00:00
This commit is contained in:
parent
4cc657d818
commit
4d67618390
3 changed files with 7 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ui",
|
||||
"version": "6.4.58",
|
||||
"version": "6.4.59",
|
||||
"license": "BUSL-1.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.15.5",
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ importers:
|
|||
version: 15.0.11
|
||||
native:
|
||||
specifier: github:hayase-app/native
|
||||
version: https://codeload.github.com/hayase-app/native/tar.gz/151ca360188ffd431143f1b9ba2f33ae0a87480b
|
||||
version: https://codeload.github.com/hayase-app/native/tar.gz/31eb40c6c662dc58030bd70a279d9b8d38e3b904
|
||||
p2pt:
|
||||
specifier: github:ThaUnknown/p2pt#modernise
|
||||
version: https://codeload.github.com/ThaUnknown/p2pt/tar.gz/9ad7a56ed6ee43f5664ebad33b803702ee349316
|
||||
|
|
@ -1900,8 +1900,8 @@ packages:
|
|||
engines: {node: ^18 || >=20}
|
||||
hasBin: true
|
||||
|
||||
native@https://codeload.github.com/hayase-app/native/tar.gz/151ca360188ffd431143f1b9ba2f33ae0a87480b:
|
||||
resolution: {tarball: https://codeload.github.com/hayase-app/native/tar.gz/151ca360188ffd431143f1b9ba2f33ae0a87480b}
|
||||
native@https://codeload.github.com/hayase-app/native/tar.gz/31eb40c6c662dc58030bd70a279d9b8d38e3b904:
|
||||
resolution: {tarball: https://codeload.github.com/hayase-app/native/tar.gz/31eb40c6c662dc58030bd70a279d9b8d38e3b904}
|
||||
version: 1.0.0
|
||||
|
||||
natural-compare@1.4.0:
|
||||
|
|
@ -4550,7 +4550,7 @@ snapshots:
|
|||
|
||||
nanoid@5.1.5: {}
|
||||
|
||||
native@https://codeload.github.com/hayase-app/native/tar.gz/151ca360188ffd431143f1b9ba2f33ae0a87480b: {}
|
||||
native@https://codeload.github.com/hayase-app/native/tar.gz/31eb40c6c662dc58030bd70a279d9b8d38e3b904: {}
|
||||
|
||||
natural-compare@1.4.0: {}
|
||||
|
||||
|
|
|
|||
|
|
@ -450,8 +450,8 @@
|
|||
|
||||
$: if (readyState && !seekIndex) thumbnailer._paintThumbnail(video, playbackIndex)
|
||||
|
||||
$: native.setMediaSession(mediaInfo.session, mediaInfo.media.id)
|
||||
$: native.setPositionState({ duration: safeduration, position: Math.min(Math.max(0, currentTime), safeduration), playbackRate })
|
||||
$: native.setMediaSession(mediaInfo.session, mediaInfo.media.id, safeduration)
|
||||
$: native.setPositionState({ duration: safeduration, position: Math.min(Math.max(0, currentTime), safeduration), playbackRate }, readyState === 0 ? 'none' : paused ? 'paused' : 'playing')
|
||||
$: native.setPlayBackState(readyState === 0 ? 'none' : paused ? 'paused' : 'playing')
|
||||
native.setActionHandler('play', playPause)
|
||||
native.setActionHandler('pause', playPause)
|
||||
|
|
|
|||
Loading…
Reference in a new issue