Skip to content

Commit

Permalink
fix: 最小化阅读窗口新建窗口不自动激活
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Apr 2, 2024
1 parent 629fe79 commit ee8f677
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions electron/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,11 @@ function createWebTabWindow(args) {

})
}
if (webTabWindow.isMinimized()) {
webTabWindow.restore()
}
webTabWindow.focus();
webTabWindow.show();

// 创建子窗口
const browserView = new BrowserView({
Expand Down

0 comments on commit ee8f677

Please sign in to comment.