mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Chat: Move chat text down to not overlap 3rd line of debug text (#6145)
This commit is contained in:
parent
d60434c7b1
commit
d3d3638f48
@ -995,7 +995,7 @@ static void updateChat(Client &client, f32 dtime, bool show_debug,
|
|||||||
s32 chat_y = 5;
|
s32 chat_y = 5;
|
||||||
|
|
||||||
if (show_debug)
|
if (show_debug)
|
||||||
chat_y += 2 * line_height;
|
chat_y += 3 * line_height;
|
||||||
|
|
||||||
// first pass to calculate height of text to be set
|
// first pass to calculate height of text to be set
|
||||||
const v2u32 &window_size = RenderingEngine::get_instance()->getWindowSize();
|
const v2u32 &window_size = RenderingEngine::get_instance()->getWindowSize();
|
||||||
|
Loading…
Reference in New Issue
Block a user