mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update np
This commit is contained in:
@@ -44,7 +44,7 @@ function mod:ConfigureElement_CPoints(frame)
|
||||
end
|
||||
|
||||
function mod:ConstructElement_CPoints(parent)
|
||||
local frame = CreateFrame("Frame", nil, parent.HealthBar)
|
||||
local frame = CreateFrame("Frame", "$parentComboPoints", parent.HealthBar)
|
||||
frame:SetPoint("CENTER", parent.HealthBar, "BOTTOM")
|
||||
frame:SetWidth(68)
|
||||
frame:SetHeight(1)
|
||||
|
||||
@@ -127,8 +127,7 @@ function mod:ConfigureElement_Glow(frame)
|
||||
end
|
||||
|
||||
function mod:ConstructElement_Glow(frame)
|
||||
local f = CreateFrame("Frame", nil, frame)
|
||||
f:SetFrameLevel(frame.HealthBar:GetFrameLevel() - 1)
|
||||
local f = CreateFrame("Frame", "$parentGlow", frame)
|
||||
f:SetBackdrop({edgeFile = LSM:Fetch("border", "ElvUI GlowBorder"), edgeSize = E:Scale(6)})
|
||||
f:Hide()
|
||||
|
||||
|
||||
@@ -139,7 +139,7 @@ function mod:ConfigureElement_HealthBar(frame, configuring)
|
||||
end
|
||||
|
||||
function mod:ConstructElement_HealthBar(parent)
|
||||
local frame = CreateFrame("StatusBar", nil, parent)
|
||||
local frame = CreateFrame("StatusBar", "$parentHealthBar", parent)
|
||||
self:StyleFrame(frame)
|
||||
--[[
|
||||
frame:SetScript("OnSizeChanged", function()
|
||||
|
||||
@@ -29,7 +29,7 @@ function mod:ConfigureElement_Highlight(frame)
|
||||
end
|
||||
|
||||
function mod:ConstructElement_Highlight(frame)
|
||||
local f = CreateFrame("Frame", nil, frame)
|
||||
local f = CreateFrame("Frame", "$parentHighlight", frame)
|
||||
f.texture = frame.HealthBar:CreateTexture(nil, "ARTWORK")
|
||||
f.texture:SetVertexColor(1, 1, 1, 0.3)
|
||||
f.texture:Hide()
|
||||
|
||||
Reference in New Issue
Block a user