mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 10:26:02 +00:00
api: merge api calls into environment
This commit is contained in:
+2
-2
@@ -59,7 +59,7 @@ pfUI:RegisterModule("buff", function ()
|
||||
|
||||
local _, _, mainhand, _, _, offhand = GetWeaponEnchantInfo()
|
||||
if buff then
|
||||
pfUI.api:CreateBackdrop(buff)
|
||||
CreateBackdrop(buff)
|
||||
icon:SetTexCoord(.08, .92, .08, .92)
|
||||
border:Hide()
|
||||
end
|
||||
@@ -111,7 +111,7 @@ pfUI:RegisterModule("buff", function ()
|
||||
elseif i > 16 then
|
||||
buff:SetPoint("TOPRIGHT", _G["BuffButton" .. i-1], "TOPLEFT", -7, 0)
|
||||
end
|
||||
pfUI.api:CreateBackdrop(buff)
|
||||
CreateBackdrop(buff)
|
||||
text:SetPoint("TOP", buff, "BOTTOM", 0 , -C.appearance.border.default*2)
|
||||
icon:SetTexCoord(.08, .92, .08, .92)
|
||||
if border then
|
||||
|
||||
Reference in New Issue
Block a user