ChromeOS: Don't add spacing between caption buttons
After [1], dynamic refresh is the default MD mode on ChromeOS so the UI switches between touchable and non-touchable UI depending on the tablet mode state. Since the frame caption buttons are hidden when in tablet mode, there's no longer a need to change the tablet mode spacing depending on the tablet mode state: we just always use 0 spacing. This fixes an issue where a browser window gets created when in touchable UI mode (but the frame caption buttons are not shown) and then when the UI changes to non-touchable mode, the spacing between buttons is not updated to 0, but the buttons are shown. [1] https://chromium.googlesource.com/chromium/src/+/63bf489f5d0038b1208c2439a1140910d263e9dc BUG=881371 Change-Id: Ifa76428abe266aaddc2ba9c946a213060a630713 Reviewed-on: https://chromium-review.googlesource.com/c/1283942Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#600161}
Showing
Please register or sign in to comment