fix: Move help_items definition before height calculation in draw_help_popup
This commit is contained in:
parent
4e07164bdc
commit
ecce880cdb
1
gtm
1
gtm
|
|
@ -653,6 +653,7 @@ def draw_help_popup(stdscr, state):
|
||||||
if not state.show_help:
|
if not state.show_help:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
# Calculate popup dimensions and position
|
# Calculate popup dimensions and position
|
||||||
popup_width = 60
|
popup_width = 60
|
||||||
# Calculate height based on number of help items plus margins
|
# Calculate height based on number of help items plus margins
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue