1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-21 06:48:04 +00:00

Menus and keyboard shortcuts

This commit is contained in:
2023-01-23 14:12:14 +01:00
parent 4cefc33bd4
commit 29e93dcab1
4 changed files with 37 additions and 21 deletions

View File

@ -8,6 +8,7 @@
import Remove from './remove.svelte';
import Stats from './stats.svelte';
import Update from './update.svelte';
import { EventsOn } from '../../../../wailsjs/runtime/runtime';
export let collection;
export let hostKey;
@ -23,6 +24,8 @@
collection.key = collectionKey;
}
EventsOn('OpenCollectionTab', name => (tab = name || tab));
async function catchQuery(event) {
tab = 'find';
await tick();