From 6fb45b3971d8621390dfb8d2a8c7b803d9e3c99b Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Sat, 4 Apr 2026 00:28:11 +0200 Subject: [PATCH] nameplate fixes - fixed raidicon to bug out if nameplates for specific unit types are hidden - fixed raidicon to NOT be behind the nameplate when nameplates are shown --- modules/nameplates.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 0b9230f0..e28d4701 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -862,7 +862,13 @@ end nameplate.level = nameplate:CreateFontString(nil, "OVERLAY") nameplate.level:SetPoint("RIGHT", nameplate.health, "LEFT", -3, 0) - nameplate.raidicon:SetParent(plate) + -- Create a dedicated high-level frame for the raid icon so it renders + -- ABOVE nameplate.health (FrameLevel 4) and stays visible even when + -- nameplates are toggled off (the Blizzard parent plate still exists). + nameplate.raidiconframe = CreateFrame("Frame", nil, nameplate) + nameplate.raidiconframe:SetFrameLevel(10) + nameplate.raidiconframe:SetAllPoints(nameplate) + nameplate.raidicon:SetParent(nameplate.raidiconframe) nameplate.raidicon:SetDrawLayer("OVERLAY", 7) if C.unitframes.blizzard_raidicons ~= "1" then nameplate.raidicon:SetTexture(pfUI.media["img:raidicons"])