fix: second FDID border texture (icongeneric) + remove dead spec_info guard
release / release (push) Successful in 8s

This commit is contained in:
2026-05-29 10:43:54 +02:00
parent 007db54109
commit 181d6fcbed
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -405,7 +405,7 @@ detailsFramework.IconGenericMixin = {
else else
if (iconSettings.borderColor) then if (iconSettings.borderColor) then
iconFrame.Border:Show() 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)) iconFrame.Border:SetVertexColor(unpack(iconSettings.borderColor or white))
else else
iconFrame.Border:Hide() iconFrame.Border:Hide()
-2
View File
@@ -964,11 +964,9 @@ for _, class in ipairs(CLASS_SORT_ORDER) do
for _, spec in ipairs(specs) do for _, spec in ipairs(specs) do
local ok, spec_info = pcall(C_ClassInfo.GetSpecInfo, class, spec) local ok, spec_info = pcall(C_ClassInfo.GetSpecInfo, class, spec)
if ok and spec_info then 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)} default_profile.class_specs_coords [spec_info.ID] = {AtlasUtil:GetCoords("specicon-"..class.."-"..spec_info.Spec)}
end end
end end
end
end end
end end