api: only add shadow to specific frames

This commit is contained in:
shagu
2019-06-02 20:43:56 +02:00
parent 85b4c4334a
commit 545be99fd7
63 changed files with 150 additions and 17 deletions
+2
View File
@@ -52,6 +52,7 @@ pfUI:RegisterModule("buff", 20400, function ()
buff.mode = buff.btype
buff.texture:SetTexture(GetPlayerBuffTexture(buff.bid))
CreateBackdrop(buff)
CreateBackdropShadow(buff)
if buff.btype == "HARMFUL" then
local dtype = GetPlayerBuffDispelType(buff.bid)
@@ -193,6 +194,7 @@ pfUI:RegisterModule("buff", 20400, function ()
end)
CreateBackdrop(buff)
CreateBackdropShadow(buff)
RefreshBuffButton(buff)
return buff