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
@@ -23,6 +23,7 @@ pfUI:RegisterModule("xpbar", 20400, function ()
end
pfUI.xp:SetFrameStrata("BACKGROUND")
CreateBackdrop(pfUI.xp)
CreateBackdropShadow(pfUI.xp)
UpdateMovable(pfUI.xp)
pfUI.xp:RegisterEvent("PLAYER_LEVEL_UP")
@@ -142,6 +143,7 @@ pfUI:RegisterModule("xpbar", 20400, function ()
end
pfUI.rep:SetFrameStrata("BACKGROUND")
CreateBackdrop(pfUI.rep)
CreateBackdropShadow(pfUI.rep)
UpdateMovable(pfUI.rep)
pfUI.rep.bar = CreateFrame("StatusBar", nil, pfUI.rep)