Merge pull request #67 from alangumer/patch-1

gestureResponseDistance
This commit is contained in:
Brent Vatne 2018-11-30 11:44:53 -08:00 committed by GitHub
commit 1ecff10d5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -342,8 +342,8 @@ class StackViewLayout extends React.Component {
maxDeltaX: 15,
minOffsetY: isMotionInverted ? -5 : 5,
hitSlop: isMotionInverted
? { top: -height + GESTURE_RESPONSE_DISTANCE_VERTICAL }
: { bottom: -height + GESTURE_RESPONSE_DISTANCE_VERTICAL },
? { top: -height + gestureResponseDistance }
: { bottom: -height + gestureResponseDistance },
};
} else {
let width = layout.width.__getValue();