mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
fixed "show in full search" click and keyboard shortcuts for collapse tree and scroll to active note actions, #1647
This commit is contained in:
@@ -759,7 +759,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
await this.setExpandedStatusForSubtree(node, false);
|
||||
}
|
||||
|
||||
collapseTreeCommand() { this.collapseTree(); }
|
||||
collapseTreeEvent() { this.collapseTree(); }
|
||||
|
||||
/**
|
||||
* @return {FancytreeNode|null}
|
||||
@@ -783,7 +783,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
}
|
||||
}
|
||||
|
||||
async scrollToActiveNoteCommand() {
|
||||
async scrollToActiveNoteEvent() {
|
||||
const activeContext = appContext.tabManager.getActiveTabContext();
|
||||
|
||||
if (activeContext && activeContext.notePath) {
|
||||
|
||||
Reference in New Issue
Block a user