Account for viewport scale when computing zoom factor for color popups
This change fixes a bug where the popup for the color picker and color suggestion picker appears larger than expected on certain device form factors, leaving a lot of spare whitespace surrounding the picker inside the popup. The issue is that the zoom factor used in popup window resizing does not take into account viewport scale. (Other popups like date do this, but the color popups do not.) Bug: 1015301 Change-Id: I74f92cdb1649d531a2964fe7974ca4d8ff4bc0bd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1866278 Commit-Queue: Sanket Joshi <sajos@microsoft.com> Reviewed-by:Mason Freed <masonfreed@chromium.org> Reviewed-by:
Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#707154}
Showing
Please register or sign in to comment