fix: increase seekbar x2 click to fullscreen on android
Some checks are pending
Check / check (push) Waiting to run

This commit is contained in:
ThaUnknown 2025-07-19 19:52:58 +02:00
parent e435e09b6d
commit be67c21bea
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -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",

View file

@ -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