mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
microfix
This commit is contained in:
parent
5af58fc69d
commit
d5171f62da
2 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ void TextBox::draw(const DrawContext* pctx, Assets* assets) {
|
|||
static_cast<int>(
|
||||
label->getLinesNumber() *
|
||||
label->getLineInterval() *
|
||||
font->getLineHeight())
|
||||
font->getLineHeight()) + 1
|
||||
);
|
||||
if (newy != static_cast<int>(size.y)) {
|
||||
size.y = newy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue