mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 18:13:46 +01:00
Fix chat overlaying full screen, now it's gonna overlay only up to length of longest line
This commit is contained in:
parent
3a9cf21664
commit
2dd69a85e7
@ -3227,7 +3227,7 @@ void the_game(bool &kill, bool random_input, InputHandler *input,
|
|||||||
core::rect<s32> rect(
|
core::rect<s32> rect(
|
||||||
10,
|
10,
|
||||||
status_y - guitext_status->getTextHeight(),
|
status_y - guitext_status->getTextHeight(),
|
||||||
screensize.X - 10,
|
10 + guitext_chat->getTextWidth(),
|
||||||
status_y
|
status_y
|
||||||
);
|
);
|
||||||
guitext_status->setRelativePosition(rect);
|
guitext_status->setRelativePosition(rect);
|
||||||
|
Loading…
Reference in New Issue
Block a user