change transparency mode from auto to mica

This commit is contained in:
smartfrigde 2023-08-02 14:34:15 +02:00
parent feff5db827
commit cb3346246b

View file

@ -62,7 +62,7 @@ async function doAfterDefiningTheWindow(): Promise<void> {
mainWindow.hide(); // please don't flashbang the user mainWindow.hide(); // please don't flashbang the user
} }
if (transparency && process.platform === "win32") { if (transparency && process.platform === "win32") {
mainWindow.setBackgroundMaterial("auto"); mainWindow.setBackgroundMaterial("mica");
if ((await getConfig("startMinimized")) == false) { if ((await getConfig("startMinimized")) == false) {
mainWindow.show(); mainWindow.show();
} }