From 63e04ad9bbf2d48dcbc518a22e75889f53cf1de5 Mon Sep 17 00:00:00 2001 From: Darth Predator Date: Sun, 20 Nov 2016 14:19:38 +0300 Subject: [PATCH] Blaze added a thing --- ElvUI_SLE/modules/unitframes/offline.lua | 2 +- ElvUI_SLE/modules/unitframes/units/player.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ElvUI_SLE/modules/unitframes/offline.lua b/ElvUI_SLE/modules/unitframes/offline.lua index fe345d3..396d9e1 100644 --- a/ElvUI_SLE/modules/unitframes/offline.lua +++ b/ElvUI_SLE/modules/unitframes/offline.lua @@ -11,7 +11,7 @@ SUF.OfflineTextures = { function SUF:Construct_Offline(frame, group) local db = E.db.sle.unitframes.unit[group].offline - local offline = frame:CreateTexture(frame:GetName().."Offline", "OVERLAY") + local offline = frame.RaisedElementParent.TextureParent:CreateTexture(frame:GetName().."Offline", "OVERLAY") offline:SetSize(db.size, db.size) offline:SetPoint("CENTER", frame, "CENTER", db.xOffset, db.yOffset) offline.Group = "ElvUF_"..T.StringToUpper(group) diff --git a/ElvUI_SLE/modules/unitframes/units/player.lua b/ElvUI_SLE/modules/unitframes/units/player.lua index 299d83c..17a64aa 100644 --- a/ElvUI_SLE/modules/unitframes/units/player.lua +++ b/ElvUI_SLE/modules/unitframes/units/player.lua @@ -70,7 +70,7 @@ function SUF:UpdateRested(frame) end function SUF:InitPlayer() - SUF.CombatTest = CreateFrame("Frame", "SLE_CombatIconTest", UIParent) + SUF.CombatTest = CreateFrame("Frame", "SLE_CombatIconTest", _G["ElvUF_Player"]) SUF.CombatTest:Point("CENTER", _G["ElvUF_Player"].Combat) SUF.CombatTest.texture = SUF.CombatTest:CreateTexture(nil, "OVERLAY") SUF.CombatTest.texture:SetAllPoints() -- 1.7.9.5