From 4be2c2868b26fc2d9c7d15ef6634245fe9d0eb7c Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 3 Aug 2025 10:52:45 -0400 Subject: [PATCH] Fix bg opacity calculation (#5622) --- src/pages/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 1c9be6549..b0a31df98 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -509,7 +509,7 @@ export default function Wrapper({ initialSettings, fallback }) { if (typeof bg === "object") { backgroundImage = bg.image || ""; if (bg.opacity !== undefined) { - opacity = bg.opacity / 100; + opacity = 1 - bg.opacity / 100; } backgroundBlur = bg.blur !== undefined; backgroundSaturate = bg.saturate !== undefined;