From ef30c1626adbb25792d31c6cd87472f7077151b4 Mon Sep 17 00:00:00 2001 From: Michael Buckley Date: Sun, 10 Nov 2019 20:05:34 -0800 Subject: [PATCH] Mac: Fix fullscreen --- macosx/mac-os.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/macosx/mac-os.mm b/macosx/mac-os.mm index cb73c0c1..3247fa7a 100644 --- a/macosx/mac-os.mm +++ b/macosx/mac-os.mm @@ -2895,6 +2895,7 @@ void QuitWithFatalError ( NSString *message) dimmedView.layer.backgroundColor = NSColor.blackColor.CGColor; dimmedView.layer.opacity = 0.5; dimmedView.layer.zPosition = 100.0; + dimmedView.translatesAutoresizingMaskIntoConstraints = NO; [self addSubview:dimmedView]; [dimmedView.topAnchor constraintEqualToAnchor:self.topAnchor].active = YES;