add case when disable acrylic on windows
This commit is contained in:
parent
65b1073ae8
commit
781933b4ff
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,8 @@ const CiderBase = {
|
||||||
const { BrowserWindow } = require("electron-acrylic-window");
|
const { BrowserWindow } = require("electron-acrylic-window");
|
||||||
win = new BrowserWindow(options)
|
win = new BrowserWindow(options)
|
||||||
win.setVibrancy("#59202700") // when out of focus, fills with #592027, 00 is aplha values
|
win.setVibrancy("#59202700") // when out of focus, fills with #592027, 00 is aplha values
|
||||||
|
} else {
|
||||||
|
win = new BrowserWindow(options)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue