mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-29 02:11:28 -06:00
Merge pull request #198 from KiranNiranjan/ELECTRON-172
Electron-172 (Pop-out issue)
This commit is contained in:
commit
1f7f693fdc
@ -367,6 +367,11 @@ function doCreateMainWindow(initialUrl, initialBounds) {
|
|||||||
|
|
||||||
addWindowKey(newWinKey, browserWin);
|
addWindowKey(newWinKey, browserWin);
|
||||||
|
|
||||||
|
// Method that sends bound changes as soon
|
||||||
|
// as a new window is created
|
||||||
|
// issue https://perzoinc.atlassian.net/browse/ELECTRON-172
|
||||||
|
sendChildWinBoundsChange(browserWin);
|
||||||
|
|
||||||
// throttle changes so we don't flood client.
|
// throttle changes so we don't flood client.
|
||||||
let throttledBoundsChange = throttle(1000,
|
let throttledBoundsChange = throttle(1000,
|
||||||
sendChildWinBoundsChange.bind(null, browserWin));
|
sendChildWinBoundsChange.bind(null, browserWin));
|
||||||
|
Loading…
Reference in New Issue
Block a user