fix: set touch-action to none

This commit is contained in:
qtchaos 2024-03-13 23:20:17 +02:00
parent 8ccca76573
commit bde2231a90
No known key found for this signature in database
GPG Key ID: 7DA98B2B9EF06A90

View File

@ -63,7 +63,7 @@ export function Volume(props: Props) {
onMouseEnter={handleMouseEnter}
onWheel={handleWheel}
>
<div className="pointer-events-auto flex cursor-pointer items-center py-0">
<div className="pointer-events-auto flex cursor-pointer items-center py-0 touch-none">
<div className="px-4 text-2xl text-white" onClick={handleClick}>
<Icon icon={percentage > 0 ? Icons.VOLUME : Icons.VOLUME_X} />
</div>