File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,14 +90,17 @@ const createWindow = async () => {
9090 icon : '../images/128x128.png' ,
9191 width : 1280 ,
9292 height : 720 ,
93- ...( 'darwin' ? { vibrancy : 'sidebar' ,
94- visualEffectState : 'active' ,
95- transparent : true } : { } ) ,
93+ ...( process . platform === 'darwin' ?
94+ {
95+ vibrancy : 'sidebar' ,
96+ visualEffectState : 'active' ,
97+ transparent : true
98+ } : { } ) ,
9699
97100 webPreferences : {
98101 preload : path . join ( __dirname , 'preload.js' ) ,
99102 } ,
100- titleBarStyle : process . platform === 'darwin' ? 'hiddenInset' : 'hidden '
103+ titleBarStyle : process . platform === 'darwin' ? 'hiddenInset' : 'default '
101104 } ) ;
102105
103106 mainWindow . webContents . on ( "did-finish-load" , ( ) => {
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ onBeforeUnmount(() => {
4545<template >
4646 <div
4747 class =" flex flex-col w-full h-full transition-all"
48- :class =" tabsStore.tabs.length ? 'app-bg' : ''"
48+ :class =" tabsStore.tabs.length ? 'app-bg' : 'app-bg-no-mac '"
4949 >
5050 <WorkspaceTabsBar
5151 v-model:current-tab =" tabsStore.currentTab"
You can’t perform that action at this time.
0 commit comments