X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/df084caf5b3765c4f86294de89d326031e307d49..09b59f4581dd8bce3b4c430ea569b7e723a2deef:/OmaUF/TargetFrame.lua?ds=sidebyside diff --git a/OmaUF/TargetFrame.lua b/OmaUF/TargetFrame.lua index d85755c..a4c2c58 100644 --- a/OmaUF/TargetFrame.lua +++ b/OmaUF/TargetFrame.lua @@ -17,7 +17,6 @@ local bgColor = Settings.BgColor; local healthColor = Settings.HealthColor; local shieldColor = Settings.ShieldColor; local shieldhlColor = Settings.ShieldhlColor; -local healpredColor = Settings.HealpredColor; local healabsorbColor = Settings.HealabsorbColor; local width, height = Settings.Target.Width, Settings.Target.Height; local anchorX, anchorY = Settings.Target.AnchorX, Settings.Target.AnchorY; @@ -116,16 +115,6 @@ function OmaUnitFrames.InitializeTarget(parent) frame.shieldhl:SetPoint("BOTTOMRIGHT", frame.healthback, "BOTTOMRIGHT", 1, 0); frame.shieldhl:SetColorTexture(unpack(shieldhlColor)); frame.shieldhl:Hide(); - frame.healpred = frame:CreateTexture(nil, "ARTWORK"); - frame.healpred:SetPoint("TOPLEFT", frame.health, "TOPRIGHT"); - frame.healpred:SetPoint("BOTTOMLEFT", frame.health, "BOTTOMRIGHT"); - frame.healpred:SetColorTexture(unpack(healpredColor)); - frame.healpred:Hide(); - frame.healabsorb = frame:CreateTexture(nil, "ARTWORK"); - frame.healabsorb:SetPoint("TOPRIGHT", frame.health, "TOPRIGHT"); - frame.healabsorb:SetPoint("BOTTOMRIGHT", frame.health, "BOTTOMRIGHT"); - frame.healabsorb:SetColorTexture(unpack(healabsorbColor)); - frame.healabsorb:Hide(); frame.status = frame:CreateTexture(nil, "OVERLAY"); frame.status:SetPoint("TOPLEFT", frame.manaback, "BOTTOMLEFT", -8, 8); frame.status:SetPoint("BOTTOMRIGHT", frame.manaback, "BOTTOMLEFT", 8, -8);