Skip to content

Commit

Permalink
fix: use default NSVisualEffectState enum case (#24546)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Jul 16, 2020
1 parent 6317ef7 commit 8272ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/native_window_mac.mm
Expand Up @@ -1450,7 +1450,7 @@ void ViewDidMoveToSuperview(NSView* self, SEL _cmd) {

[effect_view setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
[effect_view setBlendingMode:NSVisualEffectBlendingModeBehindWindow];
[effect_view setState:NSVisualEffectStateActive];
[effect_view setState:NSVisualEffectStateFollowsWindowActiveState];
[[window_ contentView] addSubview:effect_view
positioned:NSWindowBelow
relativeTo:nil];
Expand Down

0 comments on commit 8272ea5

Please sign in to comment.