mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-01-03 12:47:13 -06:00
Electron-209 - Fixed an issue with the alwaysOnTop feature
This commit is contained in:
parent
d4f473a818
commit
1e2bfad70e
@ -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