This commit is contained in:
Kevin Sawicki 2016-11-11 08:44:26 -08:00
parent 2d8a61a775
commit 483e007b69

View file

@ -1231,9 +1231,7 @@ void NativeWindowMac::SetVibrancy(const std::string& type) {
initWithFrame: [[window_ contentView] bounds]] autorelease];
[window_ setVibrantView:(NSView*)effect_view];
[effect_view setAutoresizingMask:
NSViewWidthSizable | NSViewHeightSizable];
[effect_view setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
[effect_view setBlendingMode:NSVisualEffectBlendingModeBehindWindow];
[effect_view setState:NSVisualEffectStateActive];
[[window_ contentView] addSubview:effect_view