mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-20 19:30:49 +00:00
api: only add shadow to specific frames
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user