console: Adjust for wide mode
This commit is contained in:
parent
d521c99769
commit
5ac710a0a2
@ -554,11 +554,11 @@ PrintConsole* consoleInit(gfxScreen_t screen, PrintConsole* console) {
|
||||
console->frameBuffer = (u16*)gfxGetFramebuffer(screen, GFX_LEFT, NULL, NULL);
|
||||
|
||||
if(screen==GFX_TOP) {
|
||||
console->consoleWidth = 50;
|
||||
console->windowWidth = 50;
|
||||
bool isWide = gfxIsWide();
|
||||
console->consoleWidth = isWide ? 100 : 50;
|
||||
console->windowWidth = isWide ? 100 : 50;
|
||||
}
|
||||
|
||||
|
||||
consoleCls('2');
|
||||
|
||||
return currentConsole;
|
||||
|
Loading…
Reference in New Issue
Block a user