fix: second FDID border texture (icongeneric) + remove dead spec_info guard
release / release (push) Successful in 8s
release / release (push) Successful in 8s
This commit is contained in:
@@ -405,7 +405,7 @@ detailsFramework.IconGenericMixin = {
|
||||
else
|
||||
if (iconSettings.borderColor) then
|
||||
iconFrame.Border:Show()
|
||||
iconFrame.Border:SetTexture(iconSettings.borderTexture or 130759)
|
||||
iconFrame.Border:SetTexture(iconSettings.borderTexture or [[Interface\COMMON\WhiteIconFrame]])
|
||||
iconFrame.Border:SetVertexColor(unpack(iconSettings.borderColor or white))
|
||||
else
|
||||
iconFrame.Border:Hide()
|
||||
|
||||
@@ -964,12 +964,10 @@ for _, class in ipairs(CLASS_SORT_ORDER) do
|
||||
for _, spec in ipairs(specs) do
|
||||
local ok, spec_info = pcall(C_ClassInfo.GetSpecInfo, class, spec)
|
||||
if ok and spec_info then
|
||||
if spec_info then
|
||||
default_profile.class_specs_coords [spec_info.ID] = {AtlasUtil:GetCoords("specicon-"..class.."-"..spec_info.Spec)}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user