Navigation Menu

Skip to content

Commit

Permalink
Chat: Move chat text down to not overlap 3rd line of debug text (#6145)
Browse files Browse the repository at this point in the history
  • Loading branch information
paramat authored and nerzhul committed Jul 17, 2017
1 parent d60434c commit d3d3638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Expand Up @@ -995,7 +995,7 @@ static void updateChat(Client &client, f32 dtime, bool show_debug,
s32 chat_y = 5;

if (show_debug)
chat_y += 2 * line_height;
chat_y += 3 * line_height;

// first pass to calculate height of text to be set
const v2u32 &window_size = RenderingEngine::get_instance()->getWindowSize();
Expand Down

0 comments on commit d3d3638

Please sign in to comment.