mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-28 00:44:45 +00:00
remove temp folder structure
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
local E, L, V, P, G = unpack(ElvUI)
|
||||
local mod = E:GetModule("NamePlates")
|
||||
|
||||
function mod:UpdateElement_HealerIcon(frame)
|
||||
local icon = frame.HealerIcon
|
||||
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
|
||||
if self.Healers[frame.UnitName] and frame.UnitType == "ENEMY_PLAYER" then
|
||||
icon:Show()
|
||||
else
|
||||
icon:Hide()
|
||||
end
|
||||
end
|
||||
|
||||
function mod:ConstructElement_HealerIcon(frame)
|
||||
local texture = frame:CreateTexture(nil, "OVERLAY")
|
||||
texture:SetPoint("RIGHT", frame.HealthBar, "LEFT", -6, 0)
|
||||
texture:SetWidth(40)
|
||||
texture:SetHeight(40)
|
||||
texture:SetTexture([[Interface\AddOns\ElvUI\media\textures\healer.tga]])
|
||||
texture:Hide()
|
||||
|
||||
return texture
|
||||
end
|
||||
Reference in New Issue
Block a user