Skip to content

Commit 7145f29

Browse files
committed
better
1 parent 8464c14 commit 7145f29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ElvUI/Cata/Modules/Skins/Talent.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ local function GlyphFrame_Update()
2222
local talentFrame = _G.PlayerTalentFrame
2323
local talentGroup = talentFrame and talentFrame.talentGroup
2424
if talentGroup then
25+
local l, r, t, b = unpack(E.TexCoords)
2526
for i = 1, _G.NUM_GLYPH_SLOTS do
2627
local glyph = _G['GlyphFrameGlyph'..i]
2728
if glyph and glyph.icon then
2829
local _, _, _, _, iconFilename = _G.GetGlyphSocketInfo(i, talentGroup)
2930
if iconFilename then
3031
glyph.icon:SetTexture(iconFilename)
31-
glyph.icon:SetTexCoord(unpack(E.TexCoords))
32+
glyph.icon:SetTexCoord(l, r, t, b)
3233
else
3334
glyph.icon:SetTexture([[Interface\Spellbook\UI-Glyph-Rune-]]..i)
3435
glyph.icon:SetTexCoord(0, 1, 0, 1)

0 commit comments

Comments
 (0)