Commit fad3a3b
authored
Fix PanGestureHandler not working with custom activation criteria and no minDist set (#1594)
When using custom activation (or failure) criteria, without setting the minDist prop, the default value would default to Float.MAX_VALUE, making it impossible to activate the handler. This changes it to Float.MIN_VALUE which is also the default value in the resetConfig method.1 parent 48cf34c commit fad3a3b
File tree
1 file changed
+1
-1
lines changed- android/src/main/java/com/swmansion/gesturehandler/react
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
0 commit comments