Remove transparency feature
This not only causes incredibly confusion among users because they expect it to work without themes, it also causes freezes/whitescreens for some users. Thus, this feature is disabled for now until someone contributes a fix!
This commit is contained in:
parent
035d1e24b2
commit
708c16176b
|
@ -72,7 +72,7 @@ function VencordSettings() {
|
||||||
title: "Use Windows' native title bar instead of Discord's custom one",
|
title: "Use Windows' native title bar instead of Discord's custom one",
|
||||||
note: "Requires a full restart"
|
note: "Requires a full restart"
|
||||||
}),
|
}),
|
||||||
!IS_WEB && {
|
!IS_WEB && false /* This causes electron to freeze / white screen for some people */ && {
|
||||||
key: "transparent",
|
key: "transparent",
|
||||||
title: "Enable window transparency",
|
title: "Enable window transparency",
|
||||||
note: "Requires a full restart"
|
note: "Requires a full restart"
|
||||||
|
|
|
@ -83,10 +83,12 @@ if (!process.argv.includes("--vanilla")) {
|
||||||
delete options.frame;
|
delete options.frame;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* This causes electron to freeze / white screen for some people
|
||||||
if (settings.transparent) {
|
if (settings.transparent) {
|
||||||
options.transparent = true;
|
options.transparent = true;
|
||||||
options.backgroundColor = "#00000000";
|
options.backgroundColor = "#00000000";
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
process.env.DISCORD_PRELOAD = original;
|
process.env.DISCORD_PRELOAD = original;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue