Use target shelf y for app list close state animation
When animating app list to closed state, use the current target shelf y coordinate at target animation bounds. Before this cl, app list was using ideal shelf bounds, so the animation ends at the visible shelf bounds, assuming that shelf will remain in visible state, which is the case when the app list is hidden by clicking home button, but may not always be true - for example, shelf gets hidden if app list is closed using esc key. BUG=1046198 Change-Id: Idb343482432fe9315082b45caff6679177c7d94f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2027172Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#736421}
Showing
Please register or sign in to comment