mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-01-07 06:33:58 -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) {
|
if (browserWins.length > 0) {
|
||||||
browserWins.forEach(function (browser) {
|
browserWins.forEach(function (browser) {
|
||||||
browser.setAlwaysOnTop(boolean);
|
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