Skip to content

Commit

Permalink
Prevent overflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetxius committed Dec 9, 2016
1 parent eea0881 commit 95eb7e2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ShestakUI/Modules/Skins/Blizzard/Talent.lua
Expand Up @@ -267,9 +267,8 @@ local function LoadSkin()
PlayerTalentFramePVPTalents.XPBar.NextAvailable.backdrop:SetPoint("BOTTOMRIGHT", PlayerTalentFramePVPTalents.XPBar.NextAvailable.Icon, 2, -2)

PlayerTalentFramePVPTalents.XPBar.NextAvailable.Icon:SetDrawLayer("ARTWORK")
hooksecurefunc(PlayerTalentFramePVPTalents.XPBar.NextAvailable.Icon, "SetTexCoord", function(self)
self:SetTexCoord(0.1, 0.9, 0.1, 0.9)
end)
PlayerTalentFramePVPTalents.XPBar.NextAvailable.Icon:SetTexCoord(0.1, 0.9, 0.1, 0.9)
PlayerTalentFramePVPTalents.XPBar.NextAvailable.Icon.SetTexCoord = T.dummy

PlayerTalentFramePVPTalentsBg:Hide()
PlayerTalentFramePVPTalents.Talents:DisableDrawLayer("BORDER")
Expand Down

0 comments on commit 95eb7e2

Please sign in to comment.