feat: dedicated files layout (#1928)
This commit is contained in:
@@ -431,6 +431,15 @@ export class NavigationController
|
||||
return this.selected_
|
||||
}
|
||||
|
||||
public async setPanelWidthForTag(tag: SNTag, width: number): Promise<void> {
|
||||
await this.application.mutator.changeAndSaveItem<TagMutator>(tag, (mutator) => {
|
||||
mutator.preferences = {
|
||||
...mutator.preferences,
|
||||
panelWidth: width,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
public async setSelectedTag(tag: AnyTag | undefined, { userTriggered } = { userTriggered: false }) {
|
||||
if (tag && tag.conflictOf) {
|
||||
this.application.mutator
|
||||
|
||||
Reference in New Issue
Block a user