This commit is contained in:
pdxlocations
2025-05-18 08:21:53 -07:00
parent 50efa50923
commit 06d151e991
+3 -3
View File
@@ -352,6 +352,9 @@ def move_main_highlight(
highlight_line(menu_win, menu_pad, old_idx, new_idx, visible_height)
if ui_state.current_window == 0: # hack to fix max_index
max_index += 1
draw_main_arrows(menu_win, max_index, ui_state.start_index, ui_state.current_window)
menu_win.refresh()
@@ -391,9 +394,6 @@ def draw_main_arrows(win: object, max_index: int, start_index: List[int], curren
usable_height = height - 2
usable_width = width - 2
if current_window == 1:
pass
if current_window == 1 and ui_state.display_log:
if log_height := kwargs.get("log_height"):
usable_height -= log_height - 1