5.4.158
Steven Jackson [01-06-15 - 07:01]
diff --git a/Interface/AddOns/SVUI/packages/unit/elements/auras.lua b/Interface/AddOns/SVUI/packages/unit/elements/auras.lua
index 5540ec8..08fb39e 100644
--- a/Interface/AddOns/SVUI/packages/unit/elements/auras.lua
+++ b/Interface/AddOns/SVUI/packages/unit/elements/auras.lua
@@ -190,16 +190,19 @@ local CreateAuraIcon = function(icons, index)
cd:SetReverse(true);
cd:SetHideCountdownNumbers(true);
- local text = cd:CreateFontString(nil, 'OVERLAY');
+ local fg = CreateFrame("Frame", nil, aura)
+ fg:SetAllPointsOut(aura, 2, 2)
+
+ local text = fg:CreateFontString(nil, 'OVERLAY');
text:FontManager(fontgroup);
text:SetPoint('CENTER', aura, 'CENTER', 1, 1);
text:SetJustifyH('CENTER');
- local count = cd:CreateFontString(nil, "OVERLAY");
+ local count = fg:CreateFontString(nil, "OVERLAY");
count:FontManager(fontgroup);
- count:SetPoint("BOTTOMRIGHT", aura, "BOTTOMRIGHT", 3, -3);
+ count:SetPoint("CENTER", aura, "BOTTOMRIGHT", -3, 3);
- local icon = aura:CreateTexture(nil, "BORDER");
+ local icon = aura:CreateTexture(nil, "BACKGROUND");
icon:SetAllPoints(aura);
icon:SetAllPointsIn(aura, 1, 1);
icon:SetTexCoord(0.1, 0.9, 0.1, 0.9);