* Properly hide the loot, leader and raid icons until that portion of code is properly written
James Whitehead II [01-02-07 - 16:06]
* Properly hide the loot, leader and raid icons until that portion of code is properly written
diff --git a/PerfectRaid.lua b/PerfectRaid.lua
index e2bb5a0..7dbdbfc 100644
--- a/PerfectRaid.lua
+++ b/PerfectRaid.lua
@@ -435,6 +435,7 @@ function PerfectRaid.ConfigureButton(button)
raidicon:SetWidth(0.1)
raidicon:SetPoint("RIGHT", leftbox, "LEFT", 0, 0)
button.raidicon = raidicon
+ raidicon:Hide()
local leadericon = button:CreateTexture(nil, "ARTWORK")
leadericon:SetTexture("Interface\\GroupFrame\\UI-Group-LeaderIcon")
@@ -442,6 +443,7 @@ function PerfectRaid.ConfigureButton(button)
leadericon:SetWidth(0.1)
leadericon:SetPoint("RIGHT", raidicon, "LEFT", 0, 0)
button.leadericon = leadericon
+ leadericon:Hide()
local looticon = button:CreateTexture(nil, "ARTWORK")
looticon:SetTexture("Interface\\GroupFrame\\UI-Group-MasterLooter")
@@ -449,6 +451,7 @@ function PerfectRaid.ConfigureButton(button)
looticon:SetWidth(0.1)
looticon:SetPoint("RIGHT", leadericon, "LEFT", 0, 0)
button.looticon = looticon
+ looticon:Hide()
local font = button.healthbar:CreateFontString(nil, "ARTWORK", "GameFontHighlightSmall")
font:SetPoint("RIGHT", -2, 2)