mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-31 19:27:00 -06:00
Merge pull request #233 from KiranNiranjan/ELECTRON-209
Electron-209 (Always on top issue)
This commit is contained in:
commit
05f373e195
@ -589,6 +589,13 @@ function isAlwaysOnTop(boolean) {
|
||||
if (browserWins.length > 0) {
|
||||
browserWins.forEach(function (browser) {
|
||||
browser.setAlwaysOnTop(boolean);
|
||||
|
||||
// An issue where changing the alwaysOnTop property
|
||||
// focus the pop-out window
|
||||
// Issue - Electron-209
|
||||
if (browser.winName === 'main') {
|
||||
activate(browser.winName);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user