diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-03-25 22:02:20 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-03-25 22:02:20 +1100 |
| commit | 5717ac73e970016f6e38faead58f9c126bc79cd3 (patch) | |
| tree | 04c8e85c4cf856d61fdadec4d491cf7e93852054 | |
| parent | e5742fc061685fcc9f933fb0501b1cb109e83d49 (diff) | |
Add Ctrl-Shift-F search shortcut
| -rw-r--r-- | src/components/TileTree.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/TileTree.vue b/src/components/TileTree.vue index 723befc..dfe1213 100644 --- a/src/components/TileTree.vue +++ b/src/components/TileTree.vue @@ -272,6 +272,10 @@ export default defineComponent({ onKeyUp(evt: KeyboardEvent){ if (evt.key == 'Escape'){ this.closeModalsAndSettings(); + } else if (evt.key == 'F' && evt.ctrlKey){ + if (!this.searchOpen){ + this.onSearchIconClick(); + } } }, initLayoutMap(node: LayoutNode): Map<string,LayoutNode> { |
