DescriptionFixes the fling and closest state logic in HomeCardGestureManager.
The weak fling should be handled and end the gesture session for
issue 406197. Also, fling handling turns out to check closest
state instead of last_state_. Otherwise there could be a chance
to enter an inconsistent state from the visual.
Also, the area of "closest to minimized" is too small, so I put
50px static height for this.
BUG=406197, 407890
R=oshima@chromium.org
TEST=athena_unittests, manually
Committed: https://crrev.com/efba177008e6b876a085a96426c63566b1efc657
Cr-Commit-Position: refs/heads/master@{#292284}
Patch Set 1 #
Messages
Total messages: 9 (0 generated)
|