mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-20 17:22:14 +00:00
fix: only ff on lmouse
This commit is contained in:
parent
be67c21bea
commit
1c76730528
3 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ui",
|
||||
"version": "6.4.65",
|
||||
"version": "6.4.66",
|
||||
"license": "BUSL-1.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.15.5",
|
||||
|
|
|
|||
|
|
@ -709,6 +709,7 @@
|
|||
document.addEventListener(type + 'down' as 'keydown' | 'pointerdown', (event) => {
|
||||
if (isMiniplayer) return
|
||||
if ('code' in event && (event.code !== 'Space')) return
|
||||
if ('button' in event && event.button !== 0) return
|
||||
if ('pointerId' in event) document.setPointerCapture(event.pointerId)
|
||||
startFF()
|
||||
}, { signal: ctrl.signal })
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
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<{
|
||||
|
|
|
|||
Loading…
Reference in a new issue