Skip to content

Commit

Permalink
fix 桌面切换bug
Browse files Browse the repository at this point in the history
  • Loading branch information
storyxc committed Jul 20, 2023
1 parent af91ad8 commit 27cd22c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion electron/tray/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class TrayGenerator {
showWindow() {
const position = this.getWindowPosition();
this.window?.setPosition(position.x, position.y, false);
this.window?.show();
this.window?.setVisibleOnAllWorkspaces(true, { visibleOnFullScreen: true });
this.window?.show();
this.window?.focus();
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ido",
"private": true,
"version": "1.0.2",
"version": "1.0.3",
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build && electron-builder",
Expand Down

0 comments on commit 27cd22c

Please sign in to comment.