Closed Christilut closed 3 years ago
You should set menu like:
const titlebar = new Titlebar({ // eslint-disable-line
backgroundColor: Color.fromHex('#363636'),
closeable: true,
menu: menu // or menu: null
})
this is a title bar without menu and doesn't show error.
Thanks!
Describe the bug Pressing the ALT button without a menu throws an error:
To Reproduce This is my menubar, basically empty:
Then press ALT anywhere in the app to throw an error in the console.
Desktop (please complete the following information): Windows 10
"custom-electron-titlebar": "^3.2.5"
"electron": "10.1.5"