|
|
@@ -29,6 +29,7 @@ export default function (props: { onChanged?: Function, value?: number, edit?: b
|
|
|
};
|
|
|
|
|
|
const handleTouchMove = (event) => {
|
|
|
+ console.log('aaaa',isSliding)
|
|
|
if (isSliding) {
|
|
|
const { touches } = event;
|
|
|
const touchX = touches[0].clientX;
|
|
|
@@ -49,6 +50,7 @@ export default function (props: { onChanged?: Function, value?: number, edit?: b
|
|
|
};
|
|
|
|
|
|
const handleTouchEnd = () => {
|
|
|
+
|
|
|
setIsSliding(false);
|
|
|
if (props.onChanged) {
|
|
|
|