Fix blurry VRAM viewer grid lines

This commit is contained in:
Lior Halphon 2021-07-11 23:12:46 +03:00
parent a5325d3374
commit 1d7692cff5

View File

@ -692,6 +692,10 @@ static unsigned *multiplication_table_for_frequency(unsigned frequency)
[self.mainWindow setFrame:window_frame display:YES]; [self.mainWindow setFrame:window_frame display:YES];
self.vramStatusLabel.cell.backgroundStyle = NSBackgroundStyleRaised; self.vramStatusLabel.cell.backgroundStyle = NSBackgroundStyleRaised;
NSUInteger height_diff = self.vramWindow.frame.size.height - self.vramWindow.contentView.frame.size.height;
CGRect vram_window_rect = self.vramWindow.frame;
vram_window_rect.size.height = 384 + height_diff + 48;
[self.vramWindow setFrame:vram_window_rect display:YES animate:NO];
self.consoleWindow.title = [NSString stringWithFormat:@"Debug Console %@", [self.fileURL.path lastPathComponent]]; self.consoleWindow.title = [NSString stringWithFormat:@"Debug Console %@", [self.fileURL.path lastPathComponent]];