Commit 77be5a1
## Description
In #3742 I accidentally broke ripple effect, it starts from point of
previous click instead of current (first one starts from the middle).
# Diagnosis and cure
This is because I added a call to `setPressed` in `canBegin`, which
activates the effect before it knows where to start. I added those to
make sure `setPressed` is called somewhere, but after some testing I
think it is not necessary.
## Test plan
<!--
Describe how did you test this change here.
-->
1 parent d2a3232 commit 77be5a1
File tree
1 file changed
+0
-3
lines changed- packages/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react
1 file changed
+0
-3
lines changedLines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | 443 | | |
447 | 444 | | |
448 | 445 | | |
| |||
0 commit comments