mirror of
https://github.com/colanode/colanode.git
synced 2025-12-29 00:25:03 +01:00
Enable autohide menu bar
This commit is contained in:
@@ -58,8 +58,11 @@ const createWindow = async () => {
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'preload.js'),
|
||||
},
|
||||
autoHideMenuBar: true,
|
||||
});
|
||||
|
||||
mainWindow.setMenuBarVisibility(false);
|
||||
|
||||
mainWindow.on('resized', () => {
|
||||
windowSize = {
|
||||
width: mainWindow.getBounds().width,
|
||||
|
||||
Reference in New Issue
Block a user