diff --git a/modules/player.lua b/modules/player.lua index fd475cb9..a426b678 100644 --- a/modules/player.lua +++ b/modules/player.lua @@ -196,6 +196,7 @@ pfUI:RegisterModule("player", function () pfUI.uf.player.hp.leaderIcon = CreateFrame("Frame",nil,pfUI.uf.player.hp) pfUI.uf.player.hp.leaderIcon:SetWidth(10) pfUI.uf.player.hp.leaderIcon:SetHeight(10) + pfUI.uf.player.hp.leaderIcon:SetFrameStrata("HIGH") pfUI.uf.player.hp.leaderIcon.texture = pfUI.uf.player.hp.leaderIcon:CreateTexture(nil,"BACKGROUND") pfUI.uf.player.hp.leaderIcon.texture:SetTexture("Interface\\GROUPFRAME\\UI-Group-LeaderIcon") pfUI.uf.player.hp.leaderIcon.texture:SetAllPoints(pfUI.uf.player.hp.leaderIcon) @@ -205,6 +206,7 @@ pfUI:RegisterModule("player", function () pfUI.uf.player.hp.lootIcon = CreateFrame("Frame",nil,pfUI.uf.player.hp) pfUI.uf.player.hp.lootIcon:SetWidth(10) pfUI.uf.player.hp.lootIcon:SetHeight(10) + pfUI.uf.player.hp.lootIcon:SetFrameStrata("HIGH") pfUI.uf.player.hp.lootIcon.texture = pfUI.uf.player.hp.lootIcon:CreateTexture(nil,"BACKGROUND") pfUI.uf.player.hp.lootIcon.texture:SetTexture("Interface\\GROUPFRAME\\UI-Group-MasterLooter") pfUI.uf.player.hp.lootIcon.texture:SetAllPoints(pfUI.uf.player.hp.lootIcon) diff --git a/modules/target.lua b/modules/target.lua index dba1934f..d1d90294 100644 --- a/modules/target.lua +++ b/modules/target.lua @@ -223,6 +223,7 @@ pfUI:RegisterModule("target", function () pfUI.uf.target.hp.leaderIcon = CreateFrame("Frame",nil,pfUI.uf.target.hp) 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) @@ -232,6 +233,7 @@ pfUI:RegisterModule("target", function () pfUI.uf.target.hp.lootIcon = CreateFrame("Frame",nil,pfUI.uf.target.hp) 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)