mirror of
https://github.com/zadam/trilium.git
synced 2025-02-24 15:05:31 +08:00
fix setting note/mime on root container during note change
This commit is contained in:
parent
2b10023055
commit
dfa7c64b1f
2 changed files with 7 additions and 3 deletions
|
@ -36,7 +36,11 @@ export default class RootContainer extends FlexContainer {
|
|||
this.refresh();
|
||||
}
|
||||
|
||||
noteTypeMimeChangedEvent() {
|
||||
this.refresh();
|
||||
entitiesReloadedEvent({loadResults}) {
|
||||
const note = appContext.tabManager.getActiveContextNote();
|
||||
|
||||
if (note && loadResults.isNoteReloaded(note.noteId)) {
|
||||
this.refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ function initNotSyncedOptions(initialized, opts = {}) {
|
|||
const defaultOptions = [
|
||||
{ name: 'noteRevisionSnapshotTimeInterval', value: '600', isSynced: true },
|
||||
{ name: 'protectedSessionTimeout', value: '600', isSynced: true },
|
||||
{ name: 'zoomFactor', value: '1.0', isSynced: false },
|
||||
{ name: 'zoomFactor', value: process.platform === "win32" ? '0.9' : '1.0', isSynced: false },
|
||||
{ name: 'overrideThemeFonts', value: 'false', isSynced: false },
|
||||
{ name: 'mainFontFamily', value: 'theme', isSynced: false },
|
||||
{ name: 'mainFontSize', value: '100', isSynced: false },
|
||||
|
|
Loading…
Reference in a new issue