mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
:typescript: - Do not inject custom title bar for mac
This commit is contained in:
parent
9861818322
commit
8fabaa5c56
@ -214,8 +214,9 @@ export class WindowHandler {
|
||||
this.url = this.mainWindow.webContents.getURL();
|
||||
|
||||
// Injects custom title bar css into the webContents
|
||||
// only for Window and if it is enabled
|
||||
await injectStyles(this.mainWindow, this.isCustomTitleBarAndWindowOS);
|
||||
this.mainWindow.webContents.send('initiate-custom-title-bar');
|
||||
if (this.isCustomTitleBarAndWindowOS) this.mainWindow.webContents.send('initiate-custom-title-bar');
|
||||
this.mainWindow.webContents.send('page-load', {
|
||||
isWindowsOS,
|
||||
locale: i18n.getLocale(),
|
||||
|
Loading…
Reference in New Issue
Block a user