fix: use default NSVisualEffectState (#24471)
This commit is contained in:
parent
b02748e607
commit
f0a0e10bd1
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue