fixed "show in full search" click and keyboard shortcuts for collapse tree and scroll to active note actions, #1647

This commit is contained in:
zadam
2021-02-16 21:19:07 +01:00
parent 3b4fa0c5fc
commit 2388da7cfb
2 changed files with 10 additions and 6 deletions

View File

@@ -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) {