mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
sda-1971 make the pop-out full screen enable
This commit is contained in:
parent
b7bafe932f
commit
53ea47b7ee
@ -159,6 +159,7 @@ export const handleChildWindow = (webContents: WebContents): void => {
|
||||
// Event needed to hide native menu bar
|
||||
childWebContents.once('did-start-loading', () => {
|
||||
const browserWin = BrowserWindow.fromWebContents(childWebContents) as ICustomBrowserWindow;
|
||||
browserWin.setFullScreenable(true);
|
||||
browserWin.origin = windowHandler.url;
|
||||
if (isWindowsOS && browserWin && !browserWin.isDestroyed()) {
|
||||
browserWin.setMenuBarVisibility(false);
|
||||
|
Loading…
Reference in New Issue
Block a user