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

Fix hiddenInset (Mac) titlebar style for electron 4 #1596

Merged
merged 1 commit into from
Jun 4, 2019

Conversation

dsernst
Copy link
Contributor

@dsernst dsernst commented Jun 4, 2019

This fixes bugginess w/ a duplicated title bar on macOS, as part of the upgrade to Electron 4 (#1590):

Before:

image

After:

image


Docs about this param: https://electronjs.org/docs/api/frameless-window#hiddeninset

Note about this breaking change introduced in Electron 2.0: https://github.com/electron/electron/blob/master/docs/api/breaking-changes.md#browserwindow-1

@dsernst dsernst mentioned this pull request Jun 4, 2019
@Borewit
Copy link
Member

Borewit commented Jun 4, 2019

I very much appreciate your help @dsernst.

@Borewit Borewit merged commit d45e3f3 into webtorrent:update-electron Jun 4, 2019
@dsernst dsernst deleted the electron-4-titlebar branch July 31, 2020 02:15
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.

2 participants