mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
12 lines
327 B
Lua
12 lines
327 B
Lua
local E, L, V, P, G = unpack(ElvUI)
|
|
local mod = E:GetModule("NamePlates")
|
|
|
|
function mod:UpdateElement_RaidIcon(frame)
|
|
local icon = frame.RaidIcon
|
|
icon:ClearAllPoints()
|
|
if frame.HealthBar:IsShown() then
|
|
icon:SetPoint("RIGHT", frame.HealthBar, "LEFT", -6, 0)
|
|
else
|
|
icon:SetPoint("BOTTOM", frame.Name, "TOP", 0, 3)
|
|
end
|
|
end |