File tree 1 file changed +4
-14
lines changed
1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -1433,14 +1433,8 @@ fotoramaVersion = '4.6.4';
1433
1433
xWin = ( tail . go || tail . x || xyDiff >= 0 ) && ! tail . noSwipe ,
1434
1434
yWin = xyDiff < 0 ;
1435
1435
1436
- if ( touchFLAG && ! tail . checked ) {
1437
- if ( touchEnabledFLAG = xWin ) {
1438
- stopEvent ( e ) ;
1439
- }
1440
- } else {
1441
- stopEvent ( e ) ;
1442
- ( options . onMove || noop ) . call ( el , e , { touch : touchFLAG } ) ;
1443
- }
1436
+ stopEvent ( e ) ;
1437
+ ( options . onMove || noop ) . call ( el , e , { touch : touchFLAG } ) ;
1444
1438
1445
1439
if ( ! moved && Math . sqrt ( Math . pow ( xDiff , 2 ) + Math . pow ( yDiff , 2 ) ) > tolerance ) {
1446
1440
moved = true ;
@@ -1481,16 +1475,12 @@ fotoramaVersion = '4.6.4';
1481
1475
1482
1476
function onOtherStart ( ) {
1483
1477
if ( tail . flow ) return ;
1484
- setTimeout ( function ( ) {
1485
- tail . flow = true ;
1486
- } , 10 ) ;
1478
+ tail . flow = true ;
1487
1479
}
1488
1480
1489
1481
function onOtherEnd ( ) {
1490
1482
if ( ! tail . flow ) return ;
1491
- setTimeout ( function ( ) {
1492
- tail . flow = false ;
1493
- } , TOUCH_TIMEOUT ) ;
1483
+ tail . flow = false ;
1494
1484
}
1495
1485
1496
1486
if ( MS_POINTER ) {
You can’t perform that action at this time.
0 commit comments