aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-03-30 23:47:22 +0200
committerVendicated <vendicated@riseup.net>2023-03-30 23:48:26 +0200
commit708c16176b9a8353a7460dd313a0cc441f679c21 (patch)
tree32680fad4a2af66c59b49cb29b553e7ec140c44a
parent035d1e24b2fc146d8bf8a621a57974008193eae7 (diff)
downloadVencord-708c16176b9a8353a7460dd313a0cc441f679c21.tar.gz
Vencord-708c16176b9a8353a7460dd313a0cc441f679c21.tar.bz2
Vencord-708c16176b9a8353a7460dd313a0cc441f679c21.zip
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!
-rw-r--r--src/components/VencordSettings/VencordTab.tsx2
-rw-r--r--src/patcher.ts2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx
index 5ac120d..120f4c5 100644
--- a/src/components/VencordSettings/VencordTab.tsx
+++ b/src/components/VencordSettings/VencordTab.tsx
@@ -72,7 +72,7 @@ function VencordSettings() {
title: "Use Windows' native title bar instead of Discord's custom one",
note: "Requires a full restart"
}),
- !IS_WEB && {
+ !IS_WEB && false /* This causes electron to freeze / white screen for some people */ && {
key: "transparent",
title: "Enable window transparency",
note: "Requires a full restart"
diff --git a/src/patcher.ts b/src/patcher.ts
index 9752a04..ba906d5 100644
--- a/src/patcher.ts
+++ b/src/patcher.ts
@@ -83,10 +83,12 @@ if (!process.argv.includes("--vanilla")) {
delete options.frame;
}
+ /* This causes electron to freeze / white screen for some people
if (settings.transparent) {
options.transparent = true;
options.backgroundColor = "#00000000";
}
+ */
process.env.DISCORD_PRELOAD = original;