fix: use default NSVisualEffectState (#24471)

This commit is contained in:
Shelley Vohr 2020-07-13 12:40:37 -07:00 committed by GitHub
parent b02748e607
commit f0a0e10bd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1451,7 +1451,7 @@ void NativeWindowMac::SetVibrancy(const std::string& type) {
[effect_view setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
[effect_view setBlendingMode:NSVisualEffectBlendingModeBehindWindow];
[effect_view setState:NSVisualEffectStateActive];
[effect_view setState:NSVisualEffectStateFollowsWindowActiveState];
// Make frameless Vibrant windows have rounded corners.
if (!has_frame() && !is_modal()) {