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';
14281428 xWin = ( tail . go || tail . x || xyDiff >= 0 ) && ! tail . noSwipe ,
14291429 yWin = xyDiff < 0 ;
14301430
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 } ) ;
14391433
14401434 if ( ! moved && Math . sqrt ( Math . pow ( xDiff , 2 ) + Math . pow ( yDiff , 2 ) ) > tolerance ) {
14411435 moved = true ;
@@ -1476,16 +1470,12 @@ fotoramaVersion = '4.6.4';
14761470
14771471 function onOtherStart ( ) {
14781472 if ( tail . flow ) return ;
1479- setTimeout ( function ( ) {
1480- tail . flow = true ;
1481- } , 10 ) ;
1473+ tail . flow = true ;
14821474 }
14831475
14841476 function onOtherEnd ( ) {
14851477 if ( ! tail . flow ) return ;
1486- setTimeout ( function ( ) {
1487- tail . flow = false ;
1488- } , TOUCH_TIMEOUT ) ;
1478+ tail . flow = false ;
14891479 }
14901480
14911481 if ( MS_POINTER ) {
You can’t perform that action at this time.
0 commit comments