mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
toggling the left pane will toggle the focus between tree and detail, #3563
This commit is contained in:
@@ -887,6 +887,11 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
}
|
||||
}
|
||||
|
||||
async focusTreeEvent() {
|
||||
this.tree.$container.focus();
|
||||
this.tree.setFocus(true);
|
||||
}
|
||||
|
||||
/** @returns {FancytreeNode} */
|
||||
async getNodeFromPath(notePath, expand = false, logErrors = true) {
|
||||
utils.assertArguments(notePath);
|
||||
|
||||
Reference in New Issue
Block a user