mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 04:30:01 +00:00
Update nameplates.lua - raid icons always visible
<img width="660" height="441" alt="20260323 raid icon persist example" src="https://github.com/user-attachments/assets/095243fe-9904-4cf5-b210-4857aaa945ec" /> Changing parent from nameplate.health to plate allows raid icons to be shown even when nameplate health bar isn't shown. Particularly useful if you have friendly nameplate healthbars disabled and friendlies have raid marks (e.g. tanks, marked player to stack on, etc)
This commit is contained in:
@@ -751,7 +751,7 @@ nameplates:RegisterEvent("ZONE_CHANGED_NEW_AREA")
|
||||
nameplate.level = nameplate:CreateFontString(nil, "OVERLAY")
|
||||
nameplate.level:SetPoint("RIGHT", nameplate.health, "LEFT", -3, 0)
|
||||
|
||||
nameplate.raidicon:SetParent(nameplate.health)
|
||||
nameplate.raidicon:SetParent(plate)
|
||||
nameplate.raidicon:SetDrawLayer("OVERLAY")
|
||||
nameplate.raidicon:SetTexture(pfUI.media["img:raidicons"])
|
||||
|
||||
@@ -1785,4 +1785,4 @@ nameplates:RegisterEvent("ZONE_CHANGED_NEW_AREA")
|
||||
end
|
||||
|
||||
pfUI.nameplates = nameplates
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user