mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Better contrast and fixed flickering. (#3445)
This commit is contained in:
@@ -109,8 +109,6 @@ void console_update()
|
||||
_consoleBottom = 322;
|
||||
|
||||
if (gConsoleOpen) {
|
||||
console_invalidate();
|
||||
|
||||
// When scrolling the map, the console pixels get copied... therefore invalidate the screen
|
||||
rct_window *mainWindow = window_get_main();
|
||||
if (mainWindow != NULL) {
|
||||
@@ -153,7 +151,8 @@ void console_draw(rct_drawpixelinfo *dpi)
|
||||
}
|
||||
|
||||
// Background
|
||||
gfx_fill_rect(dpi, _consoleLeft, _consoleTop, _consoleRight, _consoleBottom, 0x2000000 | 57);
|
||||
console_invalidate();
|
||||
gfx_fill_rect(dpi, _consoleLeft, _consoleTop, _consoleRight, _consoleBottom, 0x2000000 | 56);
|
||||
|
||||
int x = _consoleLeft + 4;
|
||||
int y = _consoleTop + 4;
|
||||
|
||||
Reference in New Issue
Block a user