mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +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