mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-21 13:14:04 +02:00
focus test
This commit is contained in:
parent
a11bc18143
commit
bae359f1cf
4 changed files with 14 additions and 36 deletions
3
app.vue
3
app.vue
|
@ -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 () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue