Move the text down one more pixel

This commit is contained in:
K. Lange 2018-07-21 23:42:27 +09:00
parent 1686884fb5
commit a0954ddb9c
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ void draw_text_box(gfx_context_t * ctx, struct text_box * tb) {
text = password_circles;
}
draw_sdf_string(ctx, x + TEXTBOX_INTERIOR_LEFT, y + text_offset - 13, text, 14, color, SDF_FONT_THIN);
draw_sdf_string(ctx, x + TEXTBOX_INTERIOR_LEFT, y + text_offset - 12, text, 14, color, SDF_FONT_THIN);
if (tb->is_focused) {
int width = draw_sdf_string_width(text, 14, SDF_FONT_THIN) + 2;