from retail

This commit is contained in:
Bunny67
2021-03-07 19:42:16 +03:00
parent b3be159906
commit 6e530142d3
41 changed files with 2796 additions and 2128 deletions
+4 -3
View File
@@ -245,11 +245,12 @@ local function modifyThumbnail(parent, frame, data)
function frame:SetIcon(path)
local iconPath
if data.iconSource == 0 then
iconPath = data.displayIcon or "Interface\\Icons\\INV_Misc_QuestionMark"
iconPath = data.displayIcon
else
iconPath = path or data.displayIcon or "Interface\\Icons\\INV_Misc_QuestionMark"
iconPath = path or data.displayIcon
end
self.icon:SetTexture(iconPath)
self.icon:SetTexture(iconPath and iconPath ~= "" and iconPath or "Interface\\Icons\\INV_Misc_QuestionMark")
end
if data then