fix incorrect link

This commit is contained in:
ontrigger
2023-09-27 22:12:21 +03:00
parent 2d37e59e73
commit 249ded3d1f

View File

@@ -325,7 +325,7 @@ namespace FlaxEngine.GUI
var progress = _scrollAnimationProgress;
progress = Mathf.Clamp(progress + step, 0, 1);
// https://easings.net/#easeInOutQuad
// https://easings.net/#easeOutSine
var easedProgress = Mathf.Sin((progress * Mathf.Pi) / 2);
value = Mathf.Lerp(_startValue, _targetValue, easedProgress);