mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-29 02:11:28 -06:00
fix: Sda 1746 (#876)
* sda-1746 do not start pop out in full screen mode * sda-1746 do not allow about and screen-picker dialogs to go full screen * sda-1746 change fullscreenable to fullscreen
This commit is contained in:
parent
2e994e3680
commit
5099d0d190
@ -153,6 +153,7 @@ export const handleChildWindow = (webContents: WebContents): void => {
|
||||
newWinOptions.alwaysOnTop = mainWindow.isAlwaysOnTop();
|
||||
newWinOptions.frame = true;
|
||||
newWinOptions.winKey = newWinKey;
|
||||
newWinOptions.fullscreen = false;
|
||||
|
||||
const childWebContents: WebContents = newWinOptions.webContents;
|
||||
// Event needed to hide native menu bar
|
||||
|
@ -513,6 +513,7 @@ export class WindowHandler {
|
||||
modal: true,
|
||||
alwaysOnTop: isMac,
|
||||
resizable: false,
|
||||
fullscreenable: false,
|
||||
}, {
|
||||
devTools: false,
|
||||
});
|
||||
@ -565,6 +566,7 @@ export class WindowHandler {
|
||||
height: isMac ? 519 : 523,
|
||||
width: 580,
|
||||
show: false,
|
||||
fullscreenable: false,
|
||||
}, {
|
||||
devTools: false,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user