mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-02 01:51:14 +03:00
prevent fast clicks in video controls from selecting text
This commit is contained in:
parent
ba5e4119cb
commit
da1671b6eb
@ -198,7 +198,7 @@ export default function VideoControls({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"z-50 flex w-auto items-center justify-between gap-4 rounded-lg bg-background/60 px-4 py-2 text-primary sm:flex-nowrap sm:gap-8",
|
"z-50 flex w-auto select-none items-center justify-between gap-4 rounded-lg bg-background/60 px-4 py-2 text-primary sm:flex-nowrap sm:gap-8",
|
||||||
className,
|
className,
|
||||||
isMobileOnly &&
|
isMobileOnly &&
|
||||||
Object.values(features).filter((feat) => feat).length >
|
Object.values(features).filter((feat) => feat).length >
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user