Worked around a macOS bug where fullscreen-mode SameBoy would render garbage on High Sierra. Fixed titlebar color when using the ugly Yosemite theme.

This commit is contained in:
Lior Halphon 2018-07-10 20:35:07 +03:00
parent afcb7b8579
commit dc4c23c0da
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ static void printImage(GB_gameboy_t *gb, uint32_t *image, uint8_t height,
NSMutableParagraphStyle *paragraph_style = [[NSMutableParagraphStyle alloc] init];
[paragraph_style setLineSpacing:2];
self.mainWindow.backgroundColor = [NSColor blackColor];
self.mainWindow.contentView.layer.backgroundColor = [[NSColor blackColor] CGColor];
self.debuggerSideViewInput.font = [NSFont userFixedPitchFontOfSize:12];
self.debuggerSideViewInput.textColor = [NSColor whiteColor];