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

[menu-bar] Fix Window height on electron #170

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

gabrieldonadel
Copy link
Member

@gabrieldonadel gabrieldonadel commented Feb 9, 2024

Why

When using titlebarAppearsTransparent the window height does not match the window size on macOS

How

Add 30px to window height when titlebarAppearsTransparent = true

Test Plan

image

@gabrieldonadel gabrieldonadel force-pushed the @gabrieldonadel/electron-window-manager-fix branch from 8baf111 to 670add2 Compare February 9, 2024 18:43
Base automatically changed from @gabrieldonadel/electron-platform-color to main February 9, 2024 18:52
@gabrieldonadel gabrieldonadel force-pushed the @gabrieldonadel/electron-window-manager-fix branch from 992de2e to 8346983 Compare February 9, 2024 18:54
@gabrieldonadel gabrieldonadel marked this pull request as ready for review February 9, 2024 18:54
@gabrieldonadel gabrieldonadel merged commit 2c55496 into main Feb 9, 2024
1 of 2 checks passed
@gabrieldonadel gabrieldonadel deleted the @gabrieldonadel/electron-window-manager-fix branch February 9, 2024 19:04
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