Remove transparent: true for transparencyOption (#266)

Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
Marocco2 2024-01-07 01:59:29 +01:00 committed by GitHub
parent b059516707
commit 779c8fa516
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -396,7 +396,12 @@ function createMainWindow() {
...(transparencyOption &&
transparencyOption !== "none" && {
backgroundColor: "#00000000",
backgroundMaterial: transparencyOption,
backgroundMaterial: transparencyOption
}),
// Fix transparencyOption for custom discord titlebar
...(discordWindowsTitleBar &&
transparencyOption &&
transparencyOption !== "none" && {
transparent: true
}),
...(staticTitle && { title: "Vesktop" }),