wm: Fix transparent zone under window mirror/preview views.
This happens for mirrors because we only scale by x for both x and y dimensions, so some windows (ones with insets) that don't scale the same way on the two axes end up having a transparent zone underneath. Also, for WindowPreviewView the view is shifted after the above is fixed. It's because the top inset is used in calculations, but is already taken care of in WindowMirrorView. Test: manual Bug: 962893 Change-Id: Idd2e4676be10de0306aefc7fb112db3a01d9bf1c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647138 Commit-Queue: Sammie Quon <sammiequon@chromium.org> Reviewed-by:Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/heads/master@{#666593}
Showing
Please register or sign in to comment