1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

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>