mirror of https://github.com/snes9xgit/snes9x.git
Mac: Fix fullscreen
This commit is contained in:
parent
37a84fa54b
commit
ef30c1626a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue