X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/d093a7f250aab703c69128ad4b54a31d6e0b1f83..3a032367d7bcc60257d941e014c5fb6223f0fde3:/OmaUF/TargetFrame.lua diff --git a/OmaUF/TargetFrame.lua b/OmaUF/TargetFrame.lua index 9192038..c5e1079 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 healabsorbColor = Settings.HealabsorbColor; local width, height = Settings.Target.Width, Settings.Target.Height; local anchorX, anchorY = Settings.Target.AnchorX, Settings.Target.AnchorY; -- placeholders with visible values when error happens @@ -51,11 +50,6 @@ local function hideTooltip(secure) GameTooltip:FadeOut(); end -function OmaUnitFrames.UpdateTargetTooltips() - GameTooltip = _G["GameTooltip"]; - GameTooltip_SetDefaultAnchor = _G["GameTooltip_SetDefaultAnchor"]; -end - function OmaUnitFrames.InitializeTarget(parent) attributes = Settings.Character.Clickheal; @@ -115,11 +109,6 @@ function OmaUnitFrames.InitializeTarget(parent) frame.shieldhl:SetPoint("BOTTOMRIGHT", frame.healthback, "BOTTOMRIGHT", 1, 0); frame.shieldhl:SetColorTexture(unpack(shieldhlColor)); frame.shieldhl: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);