mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 05:20:49 +00:00
nameplates: adjust glow position on hidden bars
This commit is contained in:
committed by
shagu
parent
228d4f99b4
commit
863c17cc1a
@@ -564,6 +564,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
|||||||
plate.level:Hide()
|
plate.level:Hide()
|
||||||
plate.name:Hide()
|
plate.name:Hide()
|
||||||
plate.health:Hide()
|
plate.health:Hide()
|
||||||
|
plate.glow:SetPoint("CENTER", plate.health, "CENTER", 0, 16)
|
||||||
plate.totem:Show()
|
plate.totem:Show()
|
||||||
elseif HidePlate(unittype, name, (hpmax-hp == hpmin), target) then
|
elseif HidePlate(unittype, name, (hpmax-hp == hpmin), target) then
|
||||||
plate.level:SetPoint("RIGHT", plate.name, "LEFT", -3, 0)
|
plate.level:SetPoint("RIGHT", plate.name, "LEFT", -3, 0)
|
||||||
@@ -572,6 +573,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
|||||||
plate.level:Show()
|
plate.level:Show()
|
||||||
plate.name:Show()
|
plate.name:Show()
|
||||||
plate.health:Hide()
|
plate.health:Hide()
|
||||||
|
plate.glow:SetPoint("CENTER", plate.health, "CENTER", 0, 16)
|
||||||
plate.totem:Hide()
|
plate.totem:Hide()
|
||||||
else
|
else
|
||||||
plate.level:SetPoint("RIGHT", plate.health, "LEFT", -5, 0)
|
plate.level:SetPoint("RIGHT", plate.health, "LEFT", -5, 0)
|
||||||
@@ -580,6 +582,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
|||||||
plate.level:Show()
|
plate.level:Show()
|
||||||
plate.name:Show()
|
plate.name:Show()
|
||||||
plate.health:Show()
|
plate.health:Show()
|
||||||
|
plate.glow:SetPoint("CENTER", plate.health, "CENTER", 0, 0)
|
||||||
plate.totem:Hide()
|
plate.totem:Hide()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user