Skip to content

Commit

Permalink
fix: closing commandline causing settings page update
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Feb 15, 2024
1 parent 83d9357 commit f9b537b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/ts/commandline/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ $(document).ready(() => {
} else {
hide();
}
UpdateConfig.setFontFamily(Config.fontFamily, true);
UpdateConfig.previewFontFamily(Config.fontFamily);
return;
}
if (
Expand Down Expand Up @@ -619,7 +619,7 @@ $("#commandLineWrapper #commandLine").on(
$("#commandLineWrapper").on("mousedown", (e) => {
if ($(e.target).attr("id") === "commandLineWrapper") {
hide();
UpdateConfig.setFontFamily(Config.fontFamily, true);
UpdateConfig.previewFontFamily(Config.fontFamily);
// if (Config.customTheme === true) {
// applyCustomThemeColors();
// } else {
Expand Down

0 comments on commit f9b537b

Please sign in to comment.