🎨
This commit is contained in:
parent
2d8a61a775
commit
483e007b69
1 changed files with 1 additions and 3 deletions
|
@ -1231,9 +1231,7 @@ void NativeWindowMac::SetVibrancy(const std::string& type) {
|
||||||
initWithFrame: [[window_ contentView] bounds]] autorelease];
|
initWithFrame: [[window_ contentView] bounds]] autorelease];
|
||||||
[window_ setVibrantView:(NSView*)effect_view];
|
[window_ setVibrantView:(NSView*)effect_view];
|
||||||
|
|
||||||
[effect_view setAutoresizingMask:
|
[effect_view setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
|
||||||
NSViewWidthSizable | NSViewHeightSizable];
|
|
||||||
|
|
||||||
[effect_view setBlendingMode:NSVisualEffectBlendingModeBehindWindow];
|
[effect_view setBlendingMode:NSVisualEffectBlendingModeBehindWindow];
|
||||||
[effect_view setState:NSVisualEffectStateActive];
|
[effect_view setState:NSVisualEffectStateActive];
|
||||||
[[window_ contentView] addSubview:effect_view
|
[[window_ contentView] addSubview:effect_view
|
||||||
|
|
Loading…
Reference in a new issue