fix: background transparency

This commit is contained in:
Salikh Gurgenidze
2025-12-21 21:15:44 +04:00
parent 0afaec6dfa
commit de9ac33ad7
9 changed files with 138 additions and 15 deletions
+9
View File
@@ -44,11 +44,20 @@ function DB:Initialize()
showSearchBar = true,
hoverBagline = false,
hideFooter = false,
bgTransparency = 0.15,
},
}
end
-- Ensure new settings exist for existing installations
if Guda_CharDB.settings.bgTransparency == nil then
if Guda_CharDB.settings.frameOpacity ~= nil then
Guda_CharDB.settings.bgTransparency = 1.0 - Guda_CharDB.settings.frameOpacity
Guda_CharDB.settings.frameOpacity = nil -- Clean up old setting
else
Guda_CharDB.settings.bgTransparency = 0.15
end
end
if Guda_CharDB.settings.hideFooter == nil then
Guda_CharDB.settings.hideFooter = false
end