from retail

This commit is contained in:
NoM0Re
2025-02-18 17:13:03 +01:00
parent 03e9b0f102
commit 6714432be6
8 changed files with 31 additions and 6 deletions
+2 -1
View File
@@ -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
+1 -1
View File
@@ -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
+2 -1
View File
@@ -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