Commit b9481f2 1 parent d6d5e92 commit b9481f2 Copy full SHA for b9481f2
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ var EventHandlers = {
127
127
touchObject . swipeLength = Math . round ( Math . sqrt ( Math . pow ( touchObject . curX - touchObject . startX , 2 ) ) ) ;
128
128
var verticalSwipeLength = Math . round ( Math . sqrt ( Math . pow ( touchObject . curY - touchObject . startY , 2 ) ) ) ;
129
129
130
- if ( ! this . props . verticalSwiping && ! this . state . swiping && verticalSwipeLength > 4 ) {
130
+ if ( ! this . props . verticalSwiping && ! this . state . swiping && verticalSwipeLength > 10 ) {
131
131
this . setState ( {
132
132
scrolling : true
133
133
} )
@@ -187,7 +187,7 @@ var EventHandlers = {
187
187
188
188
if ( Math . abs ( touchObject . curX - touchObject . startX ) < Math . abs ( touchObject . curY - touchObject . startY ) * 0.8 )
189
189
{ return ; }
190
- if ( touchObject . swipeLength > 4 ) {
190
+ if ( touchObject . swipeLength > 10 ) {
191
191
this . setState ( {
192
192
swiping : true
193
193
} )
You can’t perform that action at this time.
0 commit comments