mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-05 20:10:26 +00:00
fix: 最小化阅读窗口新建窗口不自动激活
This commit is contained in:
parent
629fe79c61
commit
ee8f67793a
4
electron/electron.js
vendored
4
electron/electron.js
vendored
@ -352,7 +352,11 @@ function createWebTabWindow(args) {
|
|||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
if (webTabWindow.isMinimized()) {
|
||||||
|
webTabWindow.restore()
|
||||||
|
}
|
||||||
webTabWindow.focus();
|
webTabWindow.focus();
|
||||||
|
webTabWindow.show();
|
||||||
|
|
||||||
// 创建子窗口
|
// 创建子窗口
|
||||||
const browserView = new BrowserView({
|
const browserView = new BrowserView({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user