I was critically damp once. It was okay.
This commit is contained in:
@@ -4509,7 +4509,7 @@ void LLTearOffMenu::draw()
|
||||
if (getRect().getHeight() != mTargetHeight)
|
||||
{
|
||||
// animate towards target height
|
||||
reshape(getRect().getWidth(), llceil(lerp((F32)getRect().getHeight(), mTargetHeight, LLCriticalDamp::getInterpolant(0.05f))));
|
||||
reshape(getRect().getWidth(), llceil(lerp((F32)getRect().getHeight(), mTargetHeight, LLSmoothInterpolation::getInterpolant(0.05f))));
|
||||
}
|
||||
LLFloater::draw();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user