Skip to content

Commit

Permalink
An unrelated bug report on the forum showed the bottom line text for
Browse files Browse the repository at this point in the history
dialogues, overlap with the window border.  Add mode space to fix this.
  • Loading branch information
pjbroad committed May 27, 2024
1 parent 02c2c7d commit 3c3b94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialogues.c
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ int ui_scale_dialogue_handler(window_info *win)
border_y_space = (int)(0.5 + win->current_scale * 5);
dialogue_menu_x_len += 2 * border_x_space + char_frame_size;
response_y_offset = 2 * border_y_space + MAX_MESS_LINES * win->small_font_len_y;
bot_line_height = win->small_font_len_y + 1;
bot_line_height = win->small_font_len_y + border_y_space;

copy_pos_x = border_x_space;
copy_str_width = get_string_width_zoom((unsigned char*)dialogue_copy_str,
Expand Down

0 comments on commit 3c3b94b

Please sign in to comment.