Merge pull request #67 from alangumer/patch-1

gestureResponseDistance
This commit is contained in:
Brent Vatne
2018-11-30 11:44:53 -08:00
parent c064952a0a
commit 80aebd642d

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();