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

Increase title bar height on Big Sur #11017

Merged
merged 12 commits into from
Nov 13, 2020
Merged

Increase title bar height on Big Sur #11017

merged 12 commits into from
Nov 13, 2020

Conversation

niik
Copy link
Member

@niik niik commented Nov 12, 2020

Closes #10980

Description

Seems macOS Big Sur (which is launching today) has a taller title bar making our traffic lights seem misaligned. Only judging from the screenshot in #10980 it looks like the title bar height increased by 4px so I've adjusted our title bar accordingly. Note that I haven't had a chance to actually test this on Big Sur yet.

While I was looking at this I noticed some needlessly complex logic to determine the current platform version which could be simplified thanks to electron/electron#16599.

Release notes

Notes: [Fixed] Adjust title bar height on Big Sur to match new platform convention

@billygriffin billygriffin mentioned this pull request Nov 12, 2020
@niik
Copy link
Member Author

niik commented Nov 13, 2020

I was able to install Big Sur in a VM and that was a good thing because it turns out Apple will lie about the version number to Electron saying it's 10.16 rather than 11.0 since electron (or chromium) isn't compiled against the Big Sur SDK, see electron/electron#26419.

We're able to work around that though and here's the results (the dimmed traffic lights are from the production app)

image

I'm happy with that

@niik niik merged commit 5cd2421 into development Nov 13, 2020
@niik niik deleted the the-biggest-sur branch November 13, 2020 13:06
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.

Big Sur Title bar
1 participant