microfix
This commit is contained in:
parent
5af58fc69d
commit
d5171f62da
@ -1,4 +1,4 @@
|
|||||||
history = session.get_entry("console_history")
|
history = session.get_entry("commands_history")
|
||||||
history_pointer = #history
|
history_pointer = #history
|
||||||
|
|
||||||
function setup_variables()
|
function setup_variables()
|
||||||
|
|||||||
@ -38,7 +38,7 @@ void TextBox::draw(const DrawContext* pctx, Assets* assets) {
|
|||||||
static_cast<int>(
|
static_cast<int>(
|
||||||
label->getLinesNumber() *
|
label->getLinesNumber() *
|
||||||
label->getLineInterval() *
|
label->getLineInterval() *
|
||||||
font->getLineHeight())
|
font->getLineHeight()) + 1
|
||||||
);
|
);
|
||||||
if (newy != static_cast<int>(size.y)) {
|
if (newy != static_cast<int>(size.y)) {
|
||||||
size.y = newy;
|
size.y = newy;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user