commit | f170a6a83ee67958c2bafe77f6ebea1be2e4daf3 | [log] [tgz] |
---|---|---|
author | Joshua Tsuji <tsuji@google.com> | Tue Jun 09 17:32:11 2020 -0400 |
committer | Joshua Tsuji <tsuji@google.com> | Tue Jun 09 18:24:57 2020 -0400 |
tree | 877cbf2cb8128fab5e5df202e6a6c6cda2d059cd | |
parent | b1215125800bfba2b6566028842e070cb4378922 [diff] |
Only check X velocity for max stick-to-target velocity. This was designed so you can drag objects through the dismiss target from left to right (or vv) without them sticking. Checking the hypot of velocity only results in false negatives when dragging down to the target. Test: manual Bug: 157180669 Change-Id: I21e3c048c00202fc0660aaec0c22f7825bf26f46