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
+1
View File
@@ -34,6 +34,7 @@ pfUI:RegisterModule("addonbuttons", function ()
pfUI.addonbuttons:SetFrameStrata("HIGH")
pfUI.addonbuttons:Hide()
CreateBackdrop(pfUI.addonbuttons)
CreateBackdropShadow(frame.addonbuttons)
pfUI.addonbuttons.minimapbutton = CreateFrame("Button", "pfMinimapButton", pfUI.minimap or UIParent)
pfUI.addonbuttons.minimapbutton:SetFrameStrata("MEDIUM")