(fix/Groups) Dynamic Group and Group Thumbnails Also Use SetTextureOrSpellTexture

This commit is contained in:
NoM0Re
2025-03-08 19:30:38 +01:00
parent 0c164c1a2e
commit b610365ea3
2 changed files with 2 additions and 2 deletions
@@ -673,7 +673,7 @@ local function modifyThumbnail(parent, frame, data)
icon:SetAllPoints(frame)
frame.icon = icon
end
local success = frame.icon:SetTexture(path or data.groupIcon) and (path or data.groupIcon)
local success = OptionsPrivate.Private.SetTextureOrSpellTexture(frame.icon, path or data.groupIcon) and (path or data.groupIcon)
if success then
if frame.defaultIcon then
frame.defaultIcon:Hide()
+1 -1
View File
@@ -699,7 +699,7 @@ end
local function modifyThumbnail(parent, frame, data)
function frame:SetIcon()
if data.groupIcon then
local success = frame.icon:SetTexture(data.groupIcon)
local success = OptionsPrivate.Private.SetTextureOrSpellTexture(frame.icon, data.groupIcon)
if success then
if frame.defaultIcon then
frame.defaultIcon:Hide()