Browse Source

volume control touch events fix

Co-authored-by: Jip Frijlink <JipFr@users.noreply.github.com>
Co-authored-by: James Hawkins <jhawki2005@gmail.com>
pull/138/head
Jelle van Snik 3 years ago
parent
commit
701b3db798
  1. 1
      src/components/video/controls/VolumeControl.tsx

1
src/components/video/controls/VolumeControl.tsx

@ -70,6 +70,7 @@ export function VolumeControl(props: Props) { @@ -70,6 +70,7 @@ export function VolumeControl(props: Props) {
ref={ref}
className="flex h-10 w-20 items-center px-2"
onMouseDown={dragMouseDown}
onTouchStart={dragMouseDown}
>
<div className="relative h-1 flex-1 rounded-full bg-gray-500 bg-opacity-50">
<div

Loading…
Cancel
Save