add case when disable acrylic on windows

This commit is contained in:
vapormusic 2022-01-10 22:59:35 +07:00 committed by GitHub
parent 65b1073ae8
commit 781933b4ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,6 +75,8 @@ const CiderBase = {
const { BrowserWindow } = require("electron-acrylic-window");
win = new BrowserWindow(options)
win.setVibrancy("#59202700") // when out of focus, fills with #592027, 00 is aplha values
} else {
win = new BrowserWindow(options)
}
}