Browse Source

fix: use default NSVisualEffectState (#24471)

Shelley Vohr 4 years ago
parent
commit
f0a0e10bd1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      shell/browser/native_window_mac.mm

+ 1 - 1
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()) {