mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-05 21:47:48 +01:00
Fix bg opacity calculation (#5622)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user