Remove transparent: true for transparencyOption

See https://github.com/electron/electron/issues/29937#issuecomment-1193030133
This commit is contained in:
Marocco2 2023-12-03 10:56:37 +01:00 committed by GitHub
parent 032b94e81d
commit 1913aba9df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -396,8 +396,7 @@ function createMainWindow() {
...(transparencyOption && ...(transparencyOption &&
transparencyOption !== "none" && { transparencyOption !== "none" && {
backgroundColor: "#00000000", backgroundColor: "#00000000",
backgroundMaterial: transparencyOption, backgroundMaterial: transparencyOption
transparent: true
}), }),
...(staticTitle && { title: "Vesktop" }), ...(staticTitle && { title: "Vesktop" }),
...(process.platform === "darwin" && getDarwinOptions()), ...(process.platform === "darwin" && getDarwinOptions()),