mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -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
|
// Event needed to hide native menu bar
|
||||||
childWebContents.once('did-start-loading', () => {
|
childWebContents.once('did-start-loading', () => {
|
||||||
const browserWin = BrowserWindow.fromWebContents(childWebContents) as ICustomBrowserWindow;
|
const browserWin = BrowserWindow.fromWebContents(childWebContents) as ICustomBrowserWindow;
|
||||||
|
browserWin.setFullScreenable(true);
|
||||||
browserWin.origin = windowHandler.url;
|
browserWin.origin = windowHandler.url;
|
||||||
if (isWindowsOS && browserWin && !browserWin.isDestroyed()) {
|
if (isWindowsOS && browserWin && !browserWin.isDestroyed()) {
|
||||||
browserWin.setMenuBarVisibility(false);
|
browserWin.setMenuBarVisibility(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user