Fixed an issue with icons not showing on classic versions of the game.

This commit is contained in:
Tercio Jose
2024-03-16 12:15:16 -03:00
parent 2421b29665
commit 0b7f4d2abf
8 changed files with 53 additions and 9 deletions
@@ -340,7 +340,7 @@ local createPlayerScrollBox = function(breakdownWindowFrame, breakdownSideMenu,
local specIcon = OTTFrame:CreateTexture("$parentSpecIcon", "artwork")
specIcon:SetSize(headerTable[1].width - 1, headerTable[1].width - 1)
specIcon:SetAlpha(0.834)
detailsFramework:SetMask(specIcon, [[Interface\COMMON\common-iconmask]])
detailsFramework:SetMask(specIcon, Details:GetTextureAtlas("iconmask"))
local roleIcon = OTTFrame:CreateTexture("$parentRoleIcon", "overlay")
roleIcon:SetSize((player_line_height-2) / 2, (player_line_height-2) / 2)