mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 12:10:01 +00:00
player: fix icon placement
This commit is contained in:
+3
-6
@@ -201,28 +201,25 @@ pfUI:RegisterModule("player", function ()
|
||||
pfUI.uf.player.hp.bar:SetAllPoints(pfUI.uf.player.hp)
|
||||
pfUI.uf.player.hp.bar:SetMinMaxValues(0, 100)
|
||||
|
||||
pfUI.uf.player.hp.leaderIcon = CreateFrame("Frame",nil,pfUI.uf.player.hp)
|
||||
pfUI.uf.player.hp.leaderIcon = CreateFrame("Frame",nil,pfUI.uf.player.hp.bar)
|
||||
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)
|
||||
pfUI.uf.player.hp.leaderIcon:SetPoint("CENTER", pfUI.uf.player.hp, "TOPLEFT", 0, 0)
|
||||
pfUI.uf.player.hp.leaderIcon:Hide()
|
||||
|
||||
pfUI.uf.player.hp.lootIcon = CreateFrame("Frame",nil,pfUI.uf.player.hp)
|
||||
pfUI.uf.player.hp.lootIcon = CreateFrame("Frame",nil,pfUI.uf.player.hp.bar)
|
||||
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)
|
||||
pfUI.uf.player.hp.lootIcon:SetPoint("CENTER", pfUI.uf.player.hp, "LEFT", 0, 0)
|
||||
pfUI.uf.player.hp.lootIcon:Hide()
|
||||
|
||||
pfUI.uf.player.hp.raidIcon = CreateFrame("Frame",nil,pfUI.uf.player.hp)
|
||||
pfUI.uf.player.hp.raidIcon:SetFrameStrata("HIGH")
|
||||
pfUI.uf.player.hp.raidIcon = CreateFrame("Frame",nil,pfUI.uf.player.hp.bar)
|
||||
pfUI.uf.player.hp.raidIcon:SetWidth(24)
|
||||
pfUI.uf.player.hp.raidIcon:SetHeight(24)
|
||||
pfUI.uf.player.hp.raidIcon.texture = pfUI.uf.player.hp.raidIcon:CreateTexture(nil,"ARTWORK")
|
||||
|
||||
Reference in New Issue
Block a user