Fix missing sign in ease function curve description

The range was broken because -1.0 was informed as being 1.0.
This commit is contained in:
Bruno Brant
2024-11-23 23:02:14 -03:00
committed by GitHub
parent 0c45ace151
commit 84f4178850

View File

@ -370,7 +370,7 @@
Returns an "eased" value of [param x] based on an easing function defined with [param curve]. This easing function is based on an exponent. The [param curve] can be any floating-point number, with specific values leading to the following behaviors:
[codeblock lang=text]
- Lower than -1.0 (exclusive): Ease in-out
- 1.0: Linear
- -1.0: Linear
- Between -1.0 and 0.0 (exclusive): Ease out-in
- 0.0: Constant
- Between 0.0 to 1.0 (exclusive): Ease out