From f0a0e10bd1bff06a9baf7c2c7c1504dbd3683f65 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 13 Jul 2020 12:40:37 -0700 Subject: [PATCH] fix: use default NSVisualEffectState (#24471) --- shell/browser/native_window_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/browser/native_window_mac.mm b/shell/browser/native_window_mac.mm index eaf6bb129540..4255e6b7c2c2 100644 --- a/shell/browser/native_window_mac.mm +++ b/shell/browser/native_window_mac.mm @@ -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()) {