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
@@ -5,6 +5,8 @@ pfUI:RegisterSkin("KeyBindings", function ()
HookAddonOrVariable("Blizzard_BindingUI", function()
StripTextures(KeyBindingFrame)
CreateBackdrop(KeyBindingFrame, nil, nil, .75)
CreateBackdropShadow(KeyBindingFrame)
KeyBindingFrame.backdrop:SetPoint("TOPLEFT", 2, 10)
KeyBindingFrame.backdrop:SetPoint("BOTTOMRIGHT", -42, 10)
KeyBindingFrame:SetHitRectInsets(2,42,10,10)