(fix/Groups) Dynamic Group and Group Thumbnails Also Use SetTextureOrSpellTexture
This commit is contained in:
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()
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue