mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
fix(animation): add cubic-bezier conversions for gesture animations (#19134)
* enable linear easing switch on progressEnd * Add easing to menu * remove console log * Add tests * clean up code * update comments
This commit is contained in:
@ -787,6 +787,8 @@ export const createAnimation = () => {
|
||||
};
|
||||
|
||||
const progressEnd = (shouldComplete: boolean, step: number, dur: number | undefined) => {
|
||||
shouldForceLinearEasing = false;
|
||||
|
||||
childAnimations.forEach(animation => {
|
||||
animation.progressEnd(shouldComplete, step, dur);
|
||||
});
|
||||
@ -796,7 +798,7 @@ export const createAnimation = () => {
|
||||
}
|
||||
|
||||
finished = false;
|
||||
shouldForceLinearEasing = false;
|
||||
|
||||
willComplete = shouldComplete;
|
||||
|
||||
if (!shouldComplete) {
|
||||
|
Reference in New Issue
Block a user