mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update tables
This commit is contained in:
@@ -200,7 +200,7 @@ function mod:StyleFrame(parent, noBackdrop, point)
|
||||
if not noBackdrop then
|
||||
point.backdrop = parent:CreateTexture(nil, "BACKGROUND")
|
||||
point.backdrop:SetAllPoints(point)
|
||||
point.backdrop:SetTexture(unpack(E["media"].backdropfadecolor))
|
||||
point.backdrop:SetTexture(unpack(E.media.backdropfadecolor))
|
||||
end
|
||||
|
||||
if E.PixelMode then
|
||||
@@ -208,25 +208,25 @@ function mod:StyleFrame(parent, noBackdrop, point)
|
||||
point.bordertop:SetPoint("TOPLEFT", point, "TOPLEFT", -noscalemult, noscalemult)
|
||||
point.bordertop:SetPoint("TOPRIGHT", point, "TOPRIGHT", noscalemult, noscalemult)
|
||||
point.bordertop:SetHeight(noscalemult)
|
||||
point.bordertop:SetTexture(unpack(E["media"].bordercolor))
|
||||
point.bordertop:SetTexture(unpack(E.media.bordercolor))
|
||||
|
||||
point.borderbottom = parent:CreateTexture()
|
||||
point.borderbottom:SetPoint("BOTTOMLEFT", point, "BOTTOMLEFT", -noscalemult, -noscalemult)
|
||||
point.borderbottom:SetPoint("BOTTOMRIGHT", point, "BOTTOMRIGHT", noscalemult, -noscalemult)
|
||||
point.borderbottom:SetHeight(noscalemult)
|
||||
point.borderbottom:SetTexture(unpack(E["media"].bordercolor))
|
||||
point.borderbottom:SetTexture(unpack(E.media.bordercolor))
|
||||
|
||||
point.borderleft = parent:CreateTexture()
|
||||
point.borderleft:SetPoint("TOPLEFT", point, "TOPLEFT", -noscalemult, noscalemult)
|
||||
point.borderleft:SetPoint("BOTTOMLEFT", point, "BOTTOMLEFT", noscalemult, -noscalemult)
|
||||
point.borderleft:SetWidth(noscalemult)
|
||||
point.borderleft:SetTexture(unpack(E["media"].bordercolor))
|
||||
point.borderleft:SetTexture(unpack(E.media.bordercolor))
|
||||
|
||||
point.borderright = parent:CreateTexture()
|
||||
point.borderright:SetPoint("TOPRIGHT", point, "TOPRIGHT", noscalemult, noscalemult)
|
||||
point.borderright:SetPoint("BOTTOMRIGHT", point, "BOTTOMRIGHT", -noscalemult, -noscalemult)
|
||||
point.borderright:SetWidth(noscalemult)
|
||||
point.borderright:SetTexture(unpack(E["media"].bordercolor))
|
||||
point.borderright:SetTexture(unpack(E.media.bordercolor))
|
||||
else
|
||||
point.bordertop = parent:CreateTexture(nil, "OVERLAY")
|
||||
point.bordertop:SetPoint("TOPLEFT", point, "TOPLEFT", -noscalemult, noscalemult*2)
|
||||
@@ -521,7 +521,7 @@ function mod:AnimatedHide()
|
||||
num = num + 1
|
||||
end
|
||||
if num < 1 then
|
||||
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -649,7 +649,7 @@ function mod:OnUpdate()
|
||||
end
|
||||
|
||||
for frame in pairs(mod.VisiblePlates) do
|
||||
if mod.hasTarget then
|
||||
if mod.hasTarget then
|
||||
frame.alpha = frame:GetParent():GetAlpha()
|
||||
else
|
||||
frame.alpha = 1
|
||||
@@ -801,8 +801,8 @@ function mod:ClassCache_ClassUpdated(_, name, class)
|
||||
end
|
||||
|
||||
function mod:Initialize()
|
||||
self.db = E.db["nameplates"]
|
||||
if E.private["nameplates"].enable ~= true then return end
|
||||
self.db = E.db.nameplates
|
||||
if E.private.nameplates.enable ~= true then return end
|
||||
|
||||
self.hasTarget = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user