fix: 最小化阅读窗口新建窗口不自动激活

This commit is contained in:
Pang 2024-04-03 07:06:34 +08:00
parent 629fe79c61
commit ee8f67793a

View File

@ -352,7 +352,11 @@ function createWebTabWindow(args) {
})
}
if (webTabWindow.isMinimized()) {
webTabWindow.restore()
}
webTabWindow.focus();
webTabWindow.show();
// 创建子窗口
const browserView = new BrowserView({