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: rounded corners on vibrant macOS modals #39998

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Sep 27, 2023

Backport of #39979

See that PR for details.

Notes: Fixes an issue where vibrant windows incorrectly have square corners when they're modals on macOS.

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
@trop trop bot requested a review from codebytere September 27, 2023 13:13
@trop trop bot added 26-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Sep 27, 2023
Copy link
Contributor

@jkleinsc jkleinsc left a comment

Choose a reason for hiding this comment

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

base::mac::MacOSMajorVersion() is not available in 26-x-y

shell/browser/native_window_mac.mm Outdated Show resolved Hide resolved
shell/browser/native_window_mac.mm Outdated Show resolved Hide resolved
shell/browser/native_window_mac.mm Outdated Show resolved Hide resolved
codebytere and others added 3 commits September 28, 2023 10:37
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
@jkleinsc jkleinsc merged commit 1091ba2 into 26-x-y Sep 28, 2023
13 checks passed
@jkleinsc jkleinsc deleted the trop/26-x-y-bp-fix-rounded-corners-on-vibrant-macos-modals-1695820399767 branch September 28, 2023 16:49
@release-clerk
Copy link

release-clerk bot commented Sep 28, 2023

Release Notes Persisted

Fixes an issue where vibrant windows incorrectly have square corners when they're modals on macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
26-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants