diff --git a/modules/buff.lua b/modules/buff.lua index 0ba6d46e..fa5dbaf8 100644 --- a/modules/buff.lua +++ b/modules/buff.lua @@ -51,8 +51,6 @@ pfUI:RegisterModule("buff", "vanilla:tbc", function () -- Set Buff Texture and Border buff.mode = buff.btype buff.texture:SetTexture(GetPlayerBuffTexture(buff.bid)) - CreateBackdrop(buff) - CreateBackdropShadow(buff) if buff.btype == "HARMFUL" then local dtype = GetPlayerBuffDispelType(buff.bid) @@ -199,8 +197,6 @@ pfUI:RegisterModule("buff", "vanilla:tbc", function () end end) - CreateBackdrop(buff) - CreateBackdropShadow(buff) RefreshBuffButton(buff) return buff @@ -296,6 +292,9 @@ pfUI:RegisterModule("buff", "vanilla:tbc", function () buff:ClearAllPoints() buff:SetPoint("TOPRIGHT", relFrame, "TOPRIGHT",offsetX, offsetY) + CreateBackdrop(buff) + CreateBackdropShadow(buff) + buff.timer:SetFont(pfUI.font_default, fontsize, "OUTLINE") buff.stacks:SetFont(pfUI.font_default, fontsize+1, "OUTLINE")