1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-04 16:35:03 -05:00

Fix chat overlaying full screen, now it's gonna overlay only up to length of longest line

This commit is contained in:
sapier 2014-06-20 15:18:45 +02:00
parent 3a9cf21664
commit 2dd69a85e7

View File

@ -3227,7 +3227,7 @@ void the_game(bool &kill, bool random_input, InputHandler *input,
core::rect<s32> rect(
10,
status_y - guitext_status->getTextHeight(),
screensize.X - 10,
10 + guitext_chat->getTextWidth(),
status_y
);
guitext_status->setRelativePosition(rect);