Skip to content

Commit 5aa0653

Browse files
authored
fix: preserve vibrancy setting when menu bar window is unfocused (#97)
1 parent 9dab484 commit 5aa0653

File tree

1 file changed

+1
-0
lines changed
  • resources/electron/electron-plugin/src/server/api

1 file changed

+1
-0
lines changed

resources/electron/electron-plugin/src/server/api/menuBar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ router.post('/create', (req, res) => {
133133
vibrancy,
134134
backgroundColor,
135135
transparent: transparency,
136+
visualEffectState: vibrancy ? 'active' : undefined,
136137
webPreferences: mergePreferences(webPreferences),
137138
},
138139
});

0 commit comments

Comments
 (0)