Skip to content

fix: only bezel frameless windows - #23779

Merged
codebytere merged 1 commit into
masterfrom
fix-weird-bezel
May 27, 2020
Merged

codebytere merged 1 commit into
masterfrom
fix-weird-bezel

Conversation

@codebytere

@codebytere codebytere commented May 26, 2020 •

Copy link
Copy Markdown
Member

Description of Change

Closes #23767.

Previously we set bezeled corners on all windows when setting vibrancy regardless of their framelessness, and we should only be doing this when the window is specified to be frameless.

Before:
Screen Shot 2020-05-26 at 12 34 51 PM

After:
Screen Shot 2020-05-26 at 12 34 44 PM

cc @ckerr @jkleinsc @zcbenz

Checklist

Release Notes

Notes: Fixed a bezeling issue on vibrant non-frameless BrowserWindows.

@codebytere
codebytere requested review from ckerr, jkleinsc and zcbenz May 26, 2020 19:36
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label May 26, 2020

@leolabs leolabs left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks like a good fix for the problem. Can confirm that this does the trick :)

@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label May 27, 2020
@codebytere
codebytere merged commit 5d88d0e into master May 27, 2020
@release-clerk

release-clerk Bot commented May 27, 2020

Copy link
Copy Markdown

Release Notes Persisted

Fixed a bezeling issue on vibrant non-frameless BrowserWindows.

@codebytere
codebytere deleted the fix-weird-bezel branch May 27, 2020 21:07
@trop

trop Bot commented May 27, 2020

Copy link
Copy Markdown
Contributor

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

@trop trop Bot removed the target/10-x-y label May 27, 2020
@trop

trop Bot commented May 27, 2020

Copy link
Copy Markdown
Contributor

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

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.

electron 9.0.0 browser window vibrancy

5 participants