mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40: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
|
||||
|
||||
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
|
||||
return scale
|
||||
end
|
||||
|
Reference in New Issue
Block a user