We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a34cf18 commit 485a655Copy full SHA for 485a655
packages/av-cliper/src/sprite/base-sprite.ts
@@ -215,6 +215,7 @@ export function linearTimeFn(
215
if (offsetTime / opts.duration > opts.iterCount) {
216
offsetTime = opts.duration * opts.iterCount;
217
}
218
+
219
const t = offsetTime % opts.duration;
220
221
const process = offsetTime === opts.duration ? 1 : t / opts.duration;
0 commit comments