Use the corner instead of the size as a reference when animating rects.
This prevents error accumulation (rounded origin + rounded size) in intermediate values, which can lead to cracks between adjacent rects as they're animated. These can be visible in MD refresh if background tabs have a different color from the frame. BUG=none TEST=none Change-Id: I8f8dce1c8d2189014ac4bf4ab13598f935f30a24 Reviewed-on: https://chromium-review.googlesource.com/1107241Reviewed-by:Robert Flack <flackr@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#570187}
Showing
Please register or sign in to comment