Skip to content

Commit

Permalink
fix(terminal: generate_theme_from_full_palette): correctly pass keywo…
Browse files Browse the repository at this point in the history
…rd arg to glib thread
  • Loading branch information
actionless committed Jul 2, 2024
1 parent c1e0d5a commit 2223a0e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions oomox_gui/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,13 +439,14 @@ def _callback(generated_colors: TerminalThemeT) -> None:
# before = time()
app.disable(translate("Generating terminal palette…"))
app.schedule_task(
_generate_theme_from_full_palette,
_callback,
reference_colors,
all_colors,
theme_bg,
accuracy,
extend_palette,
lambda: _generate_theme_from_full_palette(
_callback,
reference_colors,
all_colors,
theme_bg,
accuracy,
extend_palette=extend_palette,
),
)
app.enable()
# print(time() - before)
Expand Down

0 comments on commit 2223a0e

Please sign in to comment.