diff options
| author | 2024-01-26 10:36:13 +0100 | |
|---|---|---|
| committer | 2024-01-26 11:07:51 +0100 | |
| commit | ac9016aaf7f06e98d139fb1bfcd6d022cc41f2b4 (patch) | |
| tree | 2c0ac456d4251b3d98a5503dac9d048c1adb0bb7 /libs/input/PointerController.cpp | |
| parent | fb2738a273b3d4c6c392356939c510df4f5fbf98 (diff) | |
Fix regression in SceneGestureHandler
This CL fixes a crash introduced in ag/25994973: if the user drags its
finger by the exact same amount as the touch slop, then the overSlop
will be 0f and we won't be able to compute in which direction the user
is dragging. This CL makes sure that the overSlop is not 0f, unless we
are intercepting a current swipe transition.
Bug: 291053278
Test: SwipeToSceneTest
Flag: N/A
Change-Id: Ia99a388a6d177fa706cc066d4a9223b8efa919dd
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions