Skip to content

Commit

Permalink
fix(terminal: generate_theme_from_full_palette): call callback even i…
Browse files Browse the repository at this point in the history
…f window is not set
  • Loading branch information
actionless committed Sep 25, 2024
1 parent 2ea0042 commit ddec4ff
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions oomox_gui/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,15 @@ def _callback(generated_colors: TerminalThemeT) -> None:
),
)
window.enable()
else:
_generate_theme_from_full_palette(
_callback,
reference_colors,
all_colors,
theme_bg,
accuracy,
extend_palette=extend_palette,
)
# print(time() - before)


Expand Down

0 comments on commit ddec4ff

Please sign in to comment.