use new spec icon file
This commit is contained in:
@@ -448,7 +448,7 @@ function encounterDetails:CreatePhaseIndicators(chartPanel, phaseTooltip)
|
||||
tooltipBar:SetStatusBarColor(red, green, blue)
|
||||
|
||||
if (spec) then
|
||||
tooltipBar.icon.texture = [[Interface\AddOns\Details\images\spec_icons_normal]]
|
||||
tooltipBar.icon.texture = [[Interface\\GLUES\\CHARACTERCREATE\\UI-CHARACTERCREATE-CLASSES-SPECSl]]
|
||||
tooltipBar.icon.texcoord = encounterDetails.class_specs_coords[spec]
|
||||
|
||||
elseif (class) then
|
||||
@@ -496,7 +496,7 @@ function encounterDetails:CreatePhaseIndicators(chartPanel, phaseTooltip)
|
||||
tooltipBar:SetStatusBarColor(red, green, blue)
|
||||
|
||||
if (spec) then
|
||||
tooltipBar.icon.texture = [[Interface\AddOns\Details\images\spec_icons_normal]]
|
||||
tooltipBar.icon.texture = [[Interface\\GLUES\\CHARACTERCREATE\\UI-CHARACTERCREATE-CLASSES-SPECS]]
|
||||
tooltipBar.icon.texcoord = encounterDetails.class_specs_coords[spec]
|
||||
|
||||
elseif (class) then
|
||||
|
||||
@@ -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]]
|
||||
|
||||
Reference in New Issue
Block a user