mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-22 20:10:50 +00:00
api: only add shadow to specific frames
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
pfUI:RegisterSkin("Books", function ()
|
||||
StripTextures(ItemTextFrame)
|
||||
CreateBackdrop(ItemTextFrame, nil, nil, .75)
|
||||
CreateBackdropShadow(ItemTextFrame)
|
||||
|
||||
ItemTextFrame.backdrop:SetPoint("TOPLEFT", 12, -12)
|
||||
ItemTextFrame.backdrop:SetPoint("BOTTOMRIGHT", -30, 72)
|
||||
ItemTextFrame:SetHitRectInsets(12,30,12,72)
|
||||
|
||||
Reference in New Issue
Block a user