Desktop PWAs: Avoid clipping minimal-ui icons when launched maximized
The minimal-ui buttons' preferred insets and sizes were being cached before the kInternalPaddingKey property was set. This led to the Back button being too small during the initial layout if a web app initially opened maximized. We now set the kInternalPaddingKey property first, before setting layout insets. Bug: 1040792 Change-Id: I09ff4383124d304bf71ec0d3ff6e5fc9ccb6c9ff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2000444Reviewed-by:Alan Cutter <alancutter@chromium.org> Commit-Queue: Eric Willigers <ericwilligers@chromium.org> Cr-Commit-Position: refs/heads/master@{#731864}
Showing
Please register or sign in to comment