fix: only focus a webContents if the window was not initially hidden (#25292)
This commit is contained in:
parent
d305fe7d30
commit
a6b9f9d8e5
4 changed files with 17 additions and 6 deletions
1
typings/internal-electron.d.ts
vendored
1
typings/internal-electron.d.ts
vendored
|
@ -56,6 +56,7 @@ declare namespace Electron {
|
|||
getLastWebPreferences(): Electron.WebPreferences;
|
||||
_getPreloadPaths(): string[];
|
||||
equal(other: WebContents): boolean;
|
||||
_initiallyShown: boolean;
|
||||
}
|
||||
|
||||
interface WebPreferences {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue