mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 06:10:55 +08:00
fix(settings): default option for checkbox
This commit is contained in:
parent
d4f3de3ad7
commit
3a63f44c3a
1 changed files with 1 additions and 0 deletions
|
|
@ -46,5 +46,6 @@ export default class ElectronIntegrationOptions extends OptionsWidget {
|
||||||
|
|
||||||
async optionsLoaded(options) {
|
async optionsLoaded(options) {
|
||||||
this.$nativeTitleBarSelect.val(options.nativeTitleBarVisible === 'true' ? 'show' : 'hide');
|
this.$nativeTitleBarSelect.val(options.nativeTitleBarVisible === 'true' ? 'show' : 'hide');
|
||||||
|
this.setCheckboxState(this.$backgroundEffects, options.backgroundEffects);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue