overview: Fix grid from shifting past bounds when rotating with new layout.
It's possible to get to this state by scrolling a bit, then rotating a couple times. Not entirely reproducible (depends on num windows and how much scrolling and display size), but added a test case which repros 100% without this fix. Test: Added test Bug: 1013224 Change-Id: I15a4bcdcda83ccac4346727342108b0c295fd151 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1853130 Commit-Queue: Sammie Quon <sammiequon@chromium.org> Reviewed-by:Xiaoqian Dai <xdai@chromium.org> Cr-Commit-Position: refs/heads/master@{#706155}
Showing
Please register or sign in to comment