Mac: Fix fullscreen

This commit is contained in:
Michael Buckley 2019-11-10 20:05:34 -08:00
parent 37a84fa54b
commit ef30c1626a
1 changed files with 1 additions and 0 deletions

View File

@ -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;