- fixed icons rotating with bars incorrectly when setting bar to be rotated 90 degrees

This commit is contained in:
Parnic
2010-10-15 00:30:27 +00:00
parent de880222b0
commit 86ee5ca6c1
5 changed files with 5 additions and 5 deletions

View File

@ -1275,7 +1275,7 @@ end
function PlayerHealth.prototype:CreateTexCoord(texframe, icon, width, height, scale, left, right, top, bottom)
if not texframe then
texframe = self.frame:CreateTexture(nil, "BACKGROUND")
texframe = self.masterFrame:CreateTexture(nil, "BACKGROUND")
end
texframe:SetTexture(icon)
texframe:SetTexCoord(left, right, top, bottom)