mirror of
https://github.com/gethomepage/homepage.git
synced 2025-08-07 09:01:23 -04:00
Fix bg opacity calculation (#5622)
This commit is contained in:
parent
c6197a9f92
commit
4be2c2868b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user