mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 12:47:58 +03:00
ui2/label: fix label placement
Some checks are pending
Run code linters / Run code linters (push) Waiting to run
Some checks are pending
Run code linters / Run code linters (push) Waiting to run
This commit is contained in:
parent
4f2defd4d8
commit
312ca47acf
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue