mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(settings): refresh window when toggling background effects
This commit is contained in:
parent
3bcd79c625
commit
a6f29bfbf3
@ -37,7 +37,10 @@ export default class ElectronIntegrationOptions extends OptionsWidget {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.$backgroundEffects = this.$widget.find("input.background-effects");
|
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() {
|
isEnabled() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user