mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
volume control touch events fix
Co-authored-by: Jip Frijlink <JipFr@users.noreply.github.com> Co-authored-by: James Hawkins <jhawki2005@gmail.com>
This commit is contained in:
parent
0ca751f1d2
commit
701b3db798
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ export function VolumeControl(props: Props) {
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className="flex h-10 w-20 items-center px-2"
|
className="flex h-10 w-20 items-center px-2"
|
||||||
onMouseDown={dragMouseDown}
|
onMouseDown={dragMouseDown}
|
||||||
|
onTouchStart={dragMouseDown}
|
||||||
>
|
>
|
||||||
<div className="relative h-1 flex-1 rounded-full bg-gray-500 bg-opacity-50">
|
<div className="relative h-1 flex-1 rounded-full bg-gray-500 bg-opacity-50">
|
||||||
<div
|
<div
|
||||||
|
|
Loading…
Reference in a new issue