fix: use default NSVisualEffectState (#24532)

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot]
2020-07-13 20:27:01 -07:00
committed by GitHub
parent 5b8d4240d6
commit 328c5c7b46

View File

@@ -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()) {