use new spec icon file

This commit is contained in:
andrew6180
2024-05-26 18:49:31 -07:00
parent b6264af117
commit 14c3a45d1a
11 changed files with 39 additions and 75 deletions
@@ -983,12 +983,12 @@ local parse_target_icon = function (targetObject, target)
icon2coords = PetCoords
elseif (class and RAID_CLASS_COLORS [class]) then
if (targetObject.spec) then
icon2 = [[Interface\AddOns\Details\images\spec_icons_normal_alpha]]
icon2 = [[Interface\\GLUES\\CHARACTERCREATE\\UI-CHARACTERCREATE-CLASSES-SPECS]]
icon2coords = Details.class_specs_coords [targetObject.spec]
else
local spec_from_cache = Details.cached_specs [targetObject.serial]
if (spec_from_cache) then
icon2 = [[Interface\AddOns\Details\images\spec_icons_normal_alpha]]
icon2 = [[Interface\\GLUES\\CHARACTERCREATE\\UI-CHARACTERCREATE-CLASSES-SPECS]]
icon2coords = Details.class_specs_coords [spec_from_cache]
else
icon2 = [[Interface\AddOns\Details\images\classes_small_alpha]]