fix: second FDID border texture (icongeneric) + remove dead spec_info guard
All checks were successful
release / release (push) Successful in 7s
All checks were successful
release / release (push) Successful in 7s
This commit is contained in:
parent
007db54109
commit
181d6fcbed
2 changed files with 1 additions and 3 deletions
|
|
@ -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,11 +964,9 @@ 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue