Skip to content

Commit

Permalink
Add a margin between the compass mouse over text and the bottom HUD.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjbroad committed May 28, 2024
1 parent 629b79f commit cec9e0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hud_misc_window.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ CHECK_GL_ERRORS();
if (self_tile_position(&x, &y))
{
safe_snprintf(str, sizeof(str), "%d,%d", x, y);
draw_string_small_shadowed_zoomed_right(-tooltip_sep, win->len_y-compass_size,
draw_string_small_shadowed_zoomed_right(-tooltip_sep,
win->len_y - HUD_MARGIN_Y - win->small_font_len_y - hud_margin,
(unsigned char*)str, 1, 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f,
win->current_scale);
}
Expand Down

0 comments on commit cec9e0a

Please sign in to comment.