mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-01-12 01:51:26 +00:00
fix: increase seekbar x2 click to fullscreen on android
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
e435e09b6d
commit
be67c21bea
2 changed files with 4 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ui",
|
||||
"version": "6.4.64",
|
||||
"version": "6.4.65",
|
||||
"license": "BUSL-1.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.15.5",
|
||||
|
|
|
|||
|
|
@ -33,6 +33,8 @@
|
|||
|
||||
import type Thumbnailer from './thumbnailer'
|
||||
|
||||
import { SUPPORTS } from '$lib/modules/settings'
|
||||
import supports from '$lib/modules/settings/supports'
|
||||
import { toTS } from '$lib/utils'
|
||||
|
||||
const dispatch = createEventDispatcher<{
|
||||
|
|
@ -130,7 +132,7 @@
|
|||
let lastDbl = 0
|
||||
function customDoubleClick (e: MouseEvent) {
|
||||
const now = Date.now()
|
||||
if (now - lastDbl < 100) {
|
||||
if (now - lastDbl < (SUPPORTS.isAndroid ? 400 : 100)) {
|
||||
dispatch('dblclick', e)
|
||||
}
|
||||
lastDbl = now
|
||||
|
|
|
|||
Loading…
Reference in a new issue