Adjust line height
This commit is contained in:
parent
decd2452de
commit
1f9b23e412
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -910,7 +910,7 @@ void read_stdin(struct menu_state *state) {
|
|||
|
||||
static void menu_init(struct menu_state *state) {
|
||||
int height = get_font_height(state->font);
|
||||
state->line_height = height + 2;
|
||||
state->line_height = height + 3;
|
||||
state->height = state->line_height;
|
||||
if (state->vertical) {
|
||||
state->height += state->height * state->lines;
|
||||
|
|
Loading…
Add table
Reference in a new issue