Skip to content

Commit

Permalink
Keep the translucency effect even when the window loses focus on macO…
Browse files Browse the repository at this point in the history
…S. (#10196)
  • Loading branch information
fireblue authored Jan 13, 2025
1 parent f9dadf0 commit 66c173b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/lib/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ export class Window {
}
}

if (process.platform === 'darwin') {
bwOptions.visualEffectState = 'active'
}

if (process.platform === 'darwin') {
this.window = new BrowserWindow(bwOptions) as GlasstronWindow
} else {
Expand Down

0 comments on commit 66c173b

Please sign in to comment.