Commit e78aef9a authored by Blazeflack's avatar Blazeflack

Fixed bug in AuraIconText tweak regarding positioning of text

Reference: #6
parent 7c143b74
......@@ -169,7 +169,9 @@ local function UpdateAuraIconSettings(self, auras, noCycle)
if(not noCycle) then
while(auras[index]) do
local button = auras[index]
button.text:ClearAllPoints()
button.text:Point(config.durationTextPos, config.durationTextOffsetX, config.durationTextOffsetY)
button.count:ClearAllPoints()
button.count:Point(config.stackTextPos, config.stackTextOffsetX, config.stackTextOffsetY)
if not button.helper then
......@@ -184,7 +186,9 @@ local function UpdateAuraIconSettings(self, auras, noCycle)
index = index + 1
end
else
auras.text:ClearAllPoints()
auras.text:Point(config.durationTextPos, config.durationTextOffsetX, config.durationTextOffsetY)
auras.count:ClearAllPoints()
auras.count:Point(config.stackTextPos, config.stackTextOffsetX, config.stackTextOffsetY)
if not auras.helper then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment