Open rendomnet opened 3 years ago
Use mainWindow.setVibrancy instead.
Hey,
same problem, work only if i do: setVibrancy(win, options)
. and with this methods i cant edit the theme color option :) *
Otherwise it just returns a transparent window
Update n°1
(Typescript*)
import :
const acrylicWindow = require('electron-acrylic-window').BrowserWindow
var :
let theme
let win
options :
theme = {
theme: '#202425E6',
effect: 'acrylic',
useCustomWindowRefreshMethod: true,
disableOnBlur: true,
debug: false
}
window :
win = new acrylicWindow({
frame: false,
transparent: true,
vibrancy: theme,
...
})
tel me if work
changing theme option does not affect anything. How to make acrylic darker?