mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
remove temp folder structure
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
local E, L, V, P, G = unpack(ElvUI); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
|
||||
local UF = E:GetModule("UnitFrames");
|
||||
|
||||
--Cache global variables
|
||||
--Lua functions
|
||||
|
||||
--WoW API / Variables
|
||||
|
||||
function UF:Construct_CombatIndicator(frame)
|
||||
local combat = frame.RaisedElementParent.TextureParent:CreateTexture(nil, "OVERLAY")
|
||||
combat:SetWidth(19)
|
||||
combat:SetHeight(19)
|
||||
combat:SetPoint("CENTER", frame.Health, "CENTER", 0, 6)
|
||||
combat:SetVertexColor(0.69, 0.31, 0.31)
|
||||
|
||||
return combat
|
||||
end
|
||||
|
||||
function UF:Configure_CombatIndicator(frame)
|
||||
if frame.db.combatIcon and not frame:IsElementEnabled('CombatIndicator') then
|
||||
frame:EnableElement("CombatIndicator")
|
||||
elseif not frame.db.combatIcon and frame:IsElementEnabled('CombatIndicator') then
|
||||
frame:DisableElement("CombatIndicator")
|
||||
frame.CombatIndicator:Hide()
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user