Adjust line height

This commit is contained in:
adnano 2022-04-17 13:27:28 -04:00
parent decd2452de
commit 1f9b23e412

2
main.c
View file

@ -910,7 +910,7 @@ void read_stdin(struct menu_state *state) {
static void menu_init(struct menu_state *state) { static void menu_init(struct menu_state *state) {
int height = get_font_height(state->font); int height = get_font_height(state->font);
state->line_height = height + 2; state->line_height = height + 3;
state->height = state->line_height; state->height = state->line_height;
if (state->vertical) { if (state->vertical) {
state->height += state->height * state->lines; state->height += state->height * state->lines;