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: remove background color hack in vibrancy #29114

Merged
merged 1 commit into from
May 14, 2021
Merged

Conversation

zcbenz
Copy link
Member

@zcbenz zcbenz commented May 12, 2021

Description of Change

For Electron <= 12, using vibrancy with titleBarStyle together requires a small hack added by #11886 and #12157, because titleBarStyle was implemented by force showing original titlebar buttons.

But after #27489, the implementation of titleBarStyle no longer uses original titlebar buttons, and the old hack can be removed, which will fix #28782.

Checklist

Release Notes

Notes: Fix using vibrancy with titleBarStyle together resulting in weird window shadow on macOS.

@zcbenz zcbenz added semver/patch backwards-compatible bug fixes target/13-x-y labels May 12, 2021
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label May 12, 2021
@zcbenz zcbenz requested a review from codebytere May 12, 2021 06:36
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label May 13, 2021
@codebytere codebytere merged commit 4073599 into master May 14, 2021
@release-clerk
Copy link

release-clerk bot commented May 14, 2021

Release Notes Persisted

Fix using vibrancy with titleBarStyle together resulting in weird window shadow on macOS.

@codebytere codebytere deleted the fix-vibrancy-titlebar branch May 14, 2021 09:05
@trop
Copy link
Contributor

trop bot commented May 14, 2021

I have automatically backported this PR to "13-x-y", please check out #29165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: macOS window shadow weirdness
2 participants