mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
@ -566,7 +566,7 @@ export const createAnimation = (animationId?: string): Animation => {
|
||||
};
|
||||
|
||||
const setAnimationStep = (step: number) => {
|
||||
step = Math.min(Math.max(step, 0), 0.999);
|
||||
step = Math.min(Math.max(step, 0), 0.9999);
|
||||
if (supportsWebAnimations) {
|
||||
webAnimations.forEach(animation => {
|
||||
animation.currentTime = animation.effect.getComputedTiming().delay + (getDuration() * step);
|
||||
|
Reference in New Issue
Block a user