Merge pull request #283 from stagehacks/mac-frame

Add frame to window on mac app
This commit is contained in:
sparks-alec
2024-11-10 20:23:26 -05:00
committed by GitHub
+1 -2
View File
@@ -40,6 +40,7 @@ const menuTemplate = [
{ role: 'togglefullscreen' },
{
label: 'Toggle Sidebar',
accelerator: 'CommandOrControl+B',
id: 'toggleSidebar',
click(menuItem, window, event) {
mainWindow.webContents.send('toggleSidebar');
@@ -151,9 +152,7 @@ const menuTemplate = [
const windowMac = {
width: 1500,
height: 900,
titleBarStyle: 'customButtonsOnHover',
transparent: false,
frame: false,
show: false,
vibrancy: 'window',
visualEffectState: 'followWindow',