diff --git a/src/app/app-menu.ts b/src/app/app-menu.ts index cad88f42..8f2d08b6 100644 --- a/src/app/app-menu.ts +++ b/src/app/app-menu.ts @@ -165,7 +165,6 @@ export class AppMenu { public buildMenu(): void { // updates the global variables this.updateGlobals(); - this.menuList = menuItemsArray.reduce( (map: Electron.MenuItemConstructorOptions, key: string) => { map[key] = this.buildMenuKey(key); @@ -180,8 +179,6 @@ export class AppMenu { this.menu = Menu.buildFromTemplate(template); logger.info(`app-menu: built menu from the provided template`); - Menu.setApplicationMenu(this.menu); - logger.info(`app-menu: set application menu`); // Remove the default menu for window // as we use custom popup menu @@ -190,6 +187,9 @@ export class AppMenu { if (mainWindow && windowExists(mainWindow)) { mainWindow.setMenuBarVisibility(false); } + } else { + logger.info(`app-menu: set application menu`); + Menu.setApplicationMenu(this.menu); } } diff --git a/src/renderer/styles/about-app.less b/src/renderer/styles/about-app.less index 78e65768..f88cb1d2 100644 --- a/src/renderer/styles/about-app.less +++ b/src/renderer/styles/about-app.less @@ -1,10 +1,14 @@ -@import "theme"; +@import 'theme'; @white: rgb(255, 255, 255, 1); @version-text-color: rgb(47, 47, 47, 1); @copyright-text-color: rgb(127, 127, 127, 1); @text-padding: 10px; +::-webkit-scrollbar { + display: none; +} + body { background-color: white; margin: 0; @@ -25,7 +29,6 @@ body { } .AboutApp:lang(fr-FR) { - .AboutApp-symphony-section { padding-left: 10px; } @@ -134,4 +137,3 @@ body { } } } -