Fix transparencyOption for custom discord titlebar
This commit is contained in:
parent
f048047ebc
commit
7fcff8ccb4
1 changed files with 5 additions and 0 deletions
|
@ -398,6 +398,11 @@ function createMainWindow() {
|
|||
backgroundColor: "#00000000",
|
||||
backgroundMaterial: transparencyOption
|
||||
}),
|
||||
// Fix transparencyOption for custom discord titlebar
|
||||
...(discordWindowsTitleBar && transparencyOption &&
|
||||
transparencyOption !== "none" && {
|
||||
transparent: true
|
||||
}),
|
||||
...(staticTitle && { title: "Vesktop" }),
|
||||
...(process.platform === "darwin" && getDarwinOptions()),
|
||||
...getWindowBoundsOptions(),
|
||||
|
|
Reference in a new issue