use thin bd for wa bar
rawoil [09-28-21 - 10:12]
diff --git a/rSkin/modules/WeakAuras.lua b/rSkin/modules/WeakAuras.lua
index 7657243..83aa553 100644
--- a/rSkin/modules/WeakAuras.lua
+++ b/rSkin/modules/WeakAuras.lua
@@ -7,6 +7,13 @@ buttonConfig.backdrop.bgColor = buttonConfig.backdrop.backgroundColor
buttonConfig.backdrop.edgeColor = buttonConfig.backdrop.borderColor
buttonConfig.backdrop.inset = 3
+local thinBackdrop = rLib.CopyTable(oUF_SimpleConfig.backdrop)
+thinBackdrop.edgeSize = 2
+thinBackdrop.inset = 2
+thinBackdrop.insets = {left=2,right=2,top=2,bottom=2}
+thinBackdrop.bgColor = {0.23,0.23,0.23,1}
+thinBackdrop.edgeColor = {0,0,0,1}
+
local function IconBgOnUpdate(self)
self:SetAlpha(self.__icon:GetAlpha())
if self.__shadow then
@@ -51,7 +58,7 @@ local function SkinWeakAuras(f, fType)
end
elseif fType == "aurabar" then
if not f.styled then
- f.bg = L.CreateBackdrop(f.bar)
+ f.bg = L.CreateBackdrop(f.bar, nil, thinBackdrop)
f.bg:SetFrameLevel(0)
UpdateIconTexCoord(f.icon)
hooksecurefunc(f.icon, "SetTexCoord", UpdateIconTexCoord)