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
1 changed files with 5 additions and 1 deletions

View File

@ -691,7 +691,11 @@ static unsigned *multiplication_table_for_frequency(unsigned frequency)
window_frame.size.height);
[self.mainWindow setFrame:window_frame display:YES];
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]];