mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-21 11:50:49 +00:00
buff: adjust position of item enchant duration
This commit is contained in:
@@ -54,6 +54,9 @@ pfUI:RegisterModule("buff", function ()
|
|||||||
for _,buff in pairs ({TempEnchant1,TempEnchant2}) do
|
for _,buff in pairs ({TempEnchant1,TempEnchant2}) do
|
||||||
local icon = getglobal(buff:GetName().."Icon")
|
local icon = getglobal(buff:GetName().."Icon")
|
||||||
local border = getglobal(buff:GetName().."Border")
|
local border = getglobal(buff:GetName().."Border")
|
||||||
|
local text = getglobal(buff:GetName().."Duration")
|
||||||
|
text:SetPoint("TOP", buff, "BOTTOM", 0 , -pfUI_config.appearance.border.default*2)
|
||||||
|
|
||||||
local _, _, mainhand, _, _, offhand = GetWeaponEnchantInfo()
|
local _, _, mainhand, _, _, offhand = GetWeaponEnchantInfo()
|
||||||
if buff then
|
if buff then
|
||||||
pfUI.api:CreateBackdrop(buff)
|
pfUI.api:CreateBackdrop(buff)
|
||||||
|
|||||||
Reference in New Issue
Block a user