mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
feat(settings): refresh window when toggling background effects
This commit is contained in:
@@ -37,7 +37,10 @@ export default class ElectronIntegrationOptions extends OptionsWidget {
|
||||
});
|
||||
|
||||
this.$backgroundEffects = this.$widget.find("input.background-effects");
|
||||
this.$backgroundEffects.on("change", () => this.updateCheckboxOption("backgroundEffects", this.$backgroundEffects));
|
||||
this.$backgroundEffects.on("change", async () => {
|
||||
await this.updateCheckboxOption("backgroundEffects", this.$backgroundEffects);
|
||||
utils.reloadFrontendApp("background effect change");
|
||||
});
|
||||
}
|
||||
|
||||
isEnabled() {
|
||||
|
||||
Reference in New Issue
Block a user