Commit d6fbd552 authored by Blazeflack's avatar Blazeflack

Fixed issue which broke the detached castbar icon size setting

parent 1f6663ba
......@@ -64,13 +64,13 @@ local function SetCastbarSizeAndPosition(unit, unitframe, overlayFrame)
--Adjust size of castbar icon + unitframe.BORDER*2)
-- Position the castbar on overLayFrame
if (not cdb.iconAttached) then
castbar:SetInside(overlayFrame, 0, 0)
--Adjust size of castbar icon + unitframe.BORDER*2)
local iconWidth = cdb.icon and ( - unitframe.BORDER) or 0
if(unitframe.ORIENTATION == "RIGHT") 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