wm: Better looking animation for fling to minimize maximized windows.
It wasn't matching the regular fling to minimize normal window animation, even if the maximized windows was sized to look like a normal window (happens during drag). That was because on complete it restores the window, which triggers another animation, and then minimizes, so the resulting animation is something in between. For drag to unmaximize, the restore bounds animation can actually be disabled as the window bounds are already set to the restore location. Test: manual Change-Id: Idca3efeb1b9392805430342770c9263e04a3d2cb Fixed: 1084355 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2289356Reviewed-by:Xiaoqian Dai <xdai@chromium.org> Commit-Queue: Sammie Quon <sammiequon@chromium.org> Cr-Commit-Position: refs/heads/master@{#787924}
Showing
Please register or sign in to comment