Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure titlebar is at least as tall as the bounding rect of WCO #211440

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

a-stewart
Copy link
Contributor

This fixes #171415

For browsers where the Window Control Overlay is taller than 35px (for example Chrome on a Mac), there is a disjoint between the 35px tall titlebar and the OS provided titlebar.

image

To avoid this, we should ensure that if WCO is enabled, the titlebar div height is at least the height of the bounding rectangle.

Confirmation required: should we set the min value to getWCOBoundingRect()?.height before or after we apply the zoom factor?

@a-stewart
Copy link
Contributor Author

@bpasero fyi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Menu too thin with WCO on Mac OS
2 participants