From 98f571f1e2eee80066771f24d922d1b678f3ab94 Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 14 May 2017 15:55:25 +0200 Subject: [PATCH] unitframes: hide icons by default --- api/unitframes.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/unitframes.lua b/api/unitframes.lua index 96ebd52c..6dc9d14b 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -312,6 +312,7 @@ function pfUI.uf:CreateUnitFrame(unit, id, config, tick) f.leaderIcon.texture = f.leaderIcon:CreateTexture(nil,"BACKGROUND") f.leaderIcon.texture:SetTexture("Interface\\GROUPFRAME\\UI-Group-LeaderIcon") f.leaderIcon.texture:SetAllPoints(f.leaderIcon) + f.leaderIcon:Hide() f.lootIcon = CreateFrame("Frame",nil, f.hp.bar) f.lootIcon:SetWidth(10) @@ -320,6 +321,7 @@ function pfUI.uf:CreateUnitFrame(unit, id, config, tick) f.lootIcon.texture = f.lootIcon:CreateTexture(nil,"BACKGROUND") f.lootIcon.texture:SetTexture("Interface\\GROUPFRAME\\UI-Group-MasterLooter") f.lootIcon.texture:SetAllPoints(f.lootIcon) + f.lootIcon:Hide() f.raidIcon = CreateFrame("Frame", nil, f.hp.bar) f.raidIcon:SetWidth(24) @@ -328,6 +330,7 @@ function pfUI.uf:CreateUnitFrame(unit, id, config, tick) f.raidIcon.texture = f.raidIcon:CreateTexture(nil,"ARTWORK") f.raidIcon.texture:SetTexture("Interface\\AddOns\\pfUI\\img\\raidicons") f.raidIcon.texture:SetAllPoints(f.raidIcon) + f.raidIcon:Hide() if f.config.buffs ~= "off" then