From 698e156e71628f1daeb02e80bb4ec911d7da9053 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 20 May 2026 03:00:30 +0200 Subject: [PATCH] Work around bug where Discord app becomes unclickable Works around a very strange issue where *something* (electron?) will inject body { app-region: drag } when using online themes --- src/Vencord.ts | 1 + src/fixWeirdAppRegionBug.css | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 src/fixWeirdAppRegionBug.css diff --git a/src/Vencord.ts b/src/Vencord.ts index d55603b0f..430d61ed0 100644 --- a/src/Vencord.ts +++ b/src/Vencord.ts @@ -18,6 +18,7 @@ // DO NOT REMOVE UNLESS YOU WISH TO FACE THE WRATH OF THE CIRCULAR DEPENDENCY DEMON!!!!!!! import "~plugins"; +import "./fixWeirdAppRegionBug.css"; export * as Api from "./api"; export * as Plugins from "./api/PluginManager"; diff --git a/src/fixWeirdAppRegionBug.css b/src/fixWeirdAppRegionBug.css new file mode 100644 index 000000000..bb4bb663e --- /dev/null +++ b/src/fixWeirdAppRegionBug.css @@ -0,0 +1,4 @@ +/* Works around a very strange issue where *something* (electron?) will inject body { app-region: drag } when using online themes */ +body { + app-region: no-drag; +} \ No newline at end of file