focus test

This commit is contained in:
pandadev 2024-07-16 17:40:33 +02:00
parent a11bc18143
commit bae359f1cf
No known key found for this signature in database
GPG key ID: C39629DACB8E762F
4 changed files with 14 additions and 36 deletions

View file

@ -248,7 +248,6 @@ onMounted(async () => {
}
});
await listen('tauri://blur', hideApp);
await listen('tauri://focus', focusSearchInput);
focusSearchInput();
@ -262,7 +261,7 @@ onMounted(async () => {
const hideApp = async () => {
await app.hide();
await window.getCurrent().hide();
await window.getCurrentWindow().hide();
};
const showApp = async () => {