mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- fixed icons rotating with bars incorrectly when setting bar to be rotated 90 degrees
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user