mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 03:06:01 +00:00
api: only add shadow to specific frames
This commit is contained in:
@@ -52,6 +52,7 @@ pfUI:RegisterModule("buff", 20400, function ()
|
||||
buff.mode = buff.btype
|
||||
buff.texture:SetTexture(GetPlayerBuffTexture(buff.bid))
|
||||
CreateBackdrop(buff)
|
||||
CreateBackdropShadow(buff)
|
||||
|
||||
if buff.btype == "HARMFUL" then
|
||||
local dtype = GetPlayerBuffDispelType(buff.bid)
|
||||
@@ -193,6 +194,7 @@ pfUI:RegisterModule("buff", 20400, function ()
|
||||
end)
|
||||
|
||||
CreateBackdrop(buff)
|
||||
CreateBackdropShadow(buff)
|
||||
RefreshBuffButton(buff)
|
||||
|
||||
return buff
|
||||
|
||||
Reference in New Issue
Block a user