diff --git a/modules/target.lua b/modules/target.lua index 6c03802c..d5c0244d 100644 --- a/modules/target.lua +++ b/modules/target.lua @@ -234,29 +234,25 @@ pfUI:RegisterModule("target", function () pfUI.uf.target.hp.bar:SetAllPoints(pfUI.uf.target.hp) pfUI.uf.target.hp.bar:SetMinMaxValues(0, 100) - pfUI.uf.target.hp.leaderIcon = CreateFrame("Frame",nil,pfUI.uf.target.hp) + pfUI.uf.target.hp.leaderIcon = CreateFrame("Frame",nil,pfUI.uf.target.hp.bar) pfUI.uf.target.hp.leaderIcon:SetWidth(10) pfUI.uf.target.hp.leaderIcon:SetHeight(10) - pfUI.uf.target.hp.leaderIcon:SetFrameStrata("HIGH") pfUI.uf.target.hp.leaderIcon.texture = pfUI.uf.target.hp.leaderIcon:CreateTexture(nil,"BACKGROUND") pfUI.uf.target.hp.leaderIcon.texture:SetTexture("Interface\\GROUPFRAME\\UI-Group-LeaderIcon") pfUI.uf.target.hp.leaderIcon.texture:SetAllPoints(pfUI.uf.target.hp.leaderIcon) pfUI.uf.target.hp.leaderIcon:SetPoint("TOPLEFT", pfUI.uf.target.hp, "TOPLEFT", -4, 4) pfUI.uf.target.hp.leaderIcon:Hide() - pfUI.uf.target.hp.lootIcon = CreateFrame("Frame",nil,pfUI.uf.target.hp) + pfUI.uf.target.hp.lootIcon = CreateFrame("Frame",nil,pfUI.uf.target.hp.bar) pfUI.uf.target.hp.lootIcon:SetWidth(10) pfUI.uf.target.hp.lootIcon:SetHeight(10) - pfUI.uf.target.hp.lootIcon:SetFrameStrata("HIGH") pfUI.uf.target.hp.lootIcon.texture = pfUI.uf.target.hp.lootIcon:CreateTexture(nil,"BACKGROUND") pfUI.uf.target.hp.lootIcon.texture:SetTexture("Interface\\GROUPFRAME\\UI-Group-MasterLooter") pfUI.uf.target.hp.lootIcon.texture:SetAllPoints(pfUI.uf.target.hp.lootIcon) pfUI.uf.target.hp.lootIcon:SetPoint("TOPLEFT", pfUI.uf.target.hp, "LEFT", -4, 4) pfUI.uf.target.hp.lootIcon:Hide() - pfUI.uf.target.hp.raidIcon = CreateFrame("Frame",nil,pfUI.uf.target.hp) - pfUI.uf.target.hp.raidIcon:SetFrameStrata("MEDIUM") - pfUI.uf.target.hp.raidIcon:SetParent(pfUI.uf.target.hp.bar) + pfUI.uf.target.hp.raidIcon = CreateFrame("Frame",nil,pfUI.uf.target.hp.bar) pfUI.uf.target.hp.raidIcon:SetWidth(24) pfUI.uf.target.hp.raidIcon:SetHeight(24) pfUI.uf.target.hp.raidIcon.texture = pfUI.uf.target.hp.raidIcon:CreateTexture(nil,"ARTWORK")