from retail
This commit is contained in:
@@ -663,7 +663,8 @@ local function modifyThumbnail(parent, borderframe, data, fullModify, width, hei
|
||||
iconPath = path or data.displayIcon
|
||||
end
|
||||
|
||||
icon:SetTexture(iconPath and iconPath ~= "" and iconPath or "Interface\\Icons\\INV_Misc_QuestionMark")
|
||||
OptionsPrivate.Private.SetTextureOrSpellTexture(icon,
|
||||
iconPath and iconPath ~= "" and iconPath or "Interface\\Icons\\INV_Misc_QuestionMark")
|
||||
end
|
||||
|
||||
if data then
|
||||
|
||||
@@ -74,7 +74,7 @@ local function createThumbnail()
|
||||
end
|
||||
|
||||
local function modifyThumbnail(parent, frame, data)
|
||||
frame.icon:SetTexture(data.thumbnailIcon)
|
||||
OptionsPrivate.Private.SetTextureOrSpellTexture(frame.icon, data.thumbnailIcon)
|
||||
if frame.icon:GetTexture() then
|
||||
frame.icon:Show()
|
||||
else
|
||||
|
||||
@@ -300,7 +300,8 @@ local function modifyThumbnail(parent, frame, data)
|
||||
iconPath = path or data.displayIcon
|
||||
end
|
||||
|
||||
self.icon:SetTexture(iconPath and iconPath ~= "" and iconPath or "Interface\\Icons\\INV_Misc_QuestionMark")
|
||||
OptionsPrivate.Private.SetTextureOrSpellTexture(self.icon,
|
||||
iconPath and iconPath ~= "" and iconPath or "Interface\\Icons\\INV_Misc_QuestionMark")
|
||||
end
|
||||
|
||||
if data then
|
||||
|
||||
Reference in New Issue
Block a user