final prep for master profiles. revised the debuff highlight texture
Steven Jackson [07-28-15 - 23:49]
final prep for master profiles. revised the debuff highlight texture
diff --git a/SVUITheme_Simple/SVUITheme_Simple.lua b/SVUITheme_Simple/SVUITheme_Simple.lua
index f83c945..6183a6e 100644
--- a/SVUITheme_Simple/SVUITheme_Simple.lua
+++ b/SVUITheme_Simple/SVUITheme_Simple.lua
@@ -75,6 +75,11 @@ end
local UpdateBackdrop = function(self)
local current = SV.Dock.private.Opacity[self:GetName()];
+ if(SV.db.Dock.backdrop and (not MOD.private.Disabled[self:GetName() .. 'Button'])) then
+ self.backdrop:SetAlpha(1);
+ else
+ self.backdrop:SetAlpha(0);
+ end
self:SetAlpha(current or 1);
end
@@ -99,9 +104,10 @@ local _SetThemedBackdrop = function(frame, isBottom)
backdrop:SetBackdropColor(0,0,0,0.5);
backdrop:SetBackdropBorderColor(0,0,0,0.8);
- frame.UpdateBackdrop = UpdateBackdrop
+ frame.backdrop = backdrop
- return backdrop
+ UpdateBackdrop(frame);
+ frame.UpdateBackdrop = UpdateBackdrop;
end
local _SetBorderTheme = function(self)