mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Electron-171 - Added issue link to the comment
This commit is contained in:
parent
55a70399d9
commit
73636b2a9d
@ -80,8 +80,11 @@ function openConfigurationWindow(windowName) {
|
|||||||
if (selectedParentWindow) {
|
if (selectedParentWindow) {
|
||||||
windowConfig.parent = selectedParentWindow;
|
windowConfig.parent = selectedParentWindow;
|
||||||
|
|
||||||
// This is a temporary work around until there
|
/**
|
||||||
// is a fix for the modal window in windows from the electron
|
* This is a temporary work around until there
|
||||||
|
* is a fix for the modal window in windows from the electron
|
||||||
|
* issue - https://github.com/electron/electron/issues/10721
|
||||||
|
*/
|
||||||
const { x, y, width, height } = selectedParentWindow.getBounds();
|
const { x, y, width, height } = selectedParentWindow.getBounds();
|
||||||
|
|
||||||
const windowWidth = Math.round(width * 0.5);
|
const windowWidth = Math.round(width * 0.5);
|
||||||
|
Loading…
Reference in New Issue
Block a user