app list: Reset tracked last fling velocity when drag ends
AppListView::last_fling_velocity_ is used to decide whether app list should be dismissed when swipe occurs, but it's not reset once the gesture ends, which means the last recorded value will influence reseults of subsequent drags (if they do not generate ET_GESTURE_SCROLL_UPDATE event which updates the cached velocity value; e.g. for mouse drags) BUG=1008702 Change-Id: I3e55b05321388c39f354bf78e6a70e78370544d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1828498 Commit-Queue: Toni Baržić <tbarzic@chromium.org> Reviewed-by:Alex Newcomer <newcomer@chromium.org> Cr-Commit-Position: refs/heads/master@{#700844}
Showing
Please register or sign in to comment