Closed learliet closed 1 month ago
This is because when you select an easing mode with arguments, at first it has no value, so it's set to the default, but when switching, the value already exists, so it doesn't overwrite it with the default.
Do you think it should overwrite the value the user has chosen with the default when changing the easing mode?
Yeah, I'd say so. It feels more intuitive, especially since I can't think of a situation where maintaining the value would be more useful. Bounciness
, Elasticity
, and Overshoot
are distinct effects, so using the default setting makes more sense imo.
The default values for
Bounciness
,Elasticity
, andOvershoot
can be incorrect in certain cases. For instance, when selectingBounce
before switching toElastic
, theElasticity
property does not default to1
but retains the value of0.25
(which is the default forBounciness
).