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