Skip to content

Commit 0732dfc

Browse files
authored
Merge pull request #839 from Ghoelian/master
fix: change transparency setting based on platform
2 parents 6f1cc63 + ae159cf commit 0732dfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function createWindow(options = { x: 0, y: 0, backgroundColor: "white" }) {
151151
icon,
152152
backgroundColor: options.backgroundColor,
153153
autoHideMenuBar: true,
154-
transparent: true,
154+
transparent: process.platform !== "darwin",
155155
webPreferences: {
156156
...windowPreferences,
157157
...{

0 commit comments

Comments
 (0)