Fix tab strip drag-to-open bugs
Fixes the following: - Fractional part of drag updates was thrown away, causing the current height to lag behind the touch position. The error compounded the longer the drag was in progress. - Tab strip got stuck when dragged slowly to the fully open or closed position. Animations don't get run when they're at their target value, but I assumed otherwise. - Incorrect assumptions about ordering of ET_GESTURE_SCROLL_END, ET_GESTURE_SWIPE, and ET_GESTURE_END resulted in occasional DCHECKs. Changed to be more permissive. Bug: 1043374 Change-Id: Iedab85a33bf6c89b51f1a88e73864ba32e885781 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2076783Reviewed-by:Taylor Bergquist <tbergquist@chromium.org> Commit-Queue: Collin Baker <collinbaker@chromium.org> Cr-Commit-Position: refs/heads/master@{#745638}
Showing
Please register or sign in to comment