ui2/label: fix label placement
Some checks are pending
Run code linters / Run code linters (push) Waiting to run

This commit is contained in:
Marcin Kurczewski 2025-04-14 19:41:30 +02:00
parent 4f2defd4d8
commit 312ca47acf
No known key found for this signature in database
GPG key ID: CC65E6FD28CAE42A

View file

@ -32,7 +32,7 @@ static TEXTSTRING *M_CreateText(
TEXTSTRING *const textstring = Text_Create(x, y, text);
Text_SetPos(
textstring, x / g_Config.ui.text_scale,
(y + TEXT_HEIGHT_FIXED) / g_Config.ui.text_scale);
y / g_Config.ui.text_scale + TEXT_HEIGHT_FIXED - 1);
Text_SetMultiline(textstring, true);
Text_SetScale(
textstring, settings.scale * TEXT_BASE_SCALE,