Fix: Inconsistent space between console history and current line. (#12528)

master
Peter Nelson 1 month ago committed by GitHub
parent 78b83190cc
commit 4170c9923a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -196,7 +196,7 @@ struct IConsoleWindow : Window
const int right = this->width - WidgetDimensions::scaled.frametext.right;
GfxFillRect(0, 0, this->width - 1, this->height - 1, PC_BLACK);
int ypos = this->height - this->line_height;
int ypos = this->height - this->line_height - WidgetDimensions::scaled.hsep_normal;
for (size_t line_index = IConsoleWindow::scroll; line_index < _iconsole_buffer.size(); line_index++) {
const IConsoleLine &print = _iconsole_buffer[line_index];
SetDParamStr(0, print.buffer);

Loading…
Cancel
Save