mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- another shot at fixing the TexCoord errors some users are seeing
This commit is contained in:
@ -723,7 +723,7 @@ function IceBarElement.prototype:LerpScale(scale)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if self.CurrLerpTime < self.moduleSettings.desiredLerpTime then
|
if self.CurrLerpTime < self.moduleSettings.desiredLerpTime then
|
||||||
return self.LastScale + ((self.DesiredScale - self.LastScale) * (self.CurrLerpTime / self.moduleSettings.desiredLerpTime))
|
return IceHUD:Clamp(self.LastScale + ((self.DesiredScale - self.LastScale) * (self.CurrLerpTime / self.moduleSettings.desiredLerpTime)), 0, 1)
|
||||||
else
|
else
|
||||||
return scale
|
return scale
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user