We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ccc89b + 82a7067 commit 7aeafd9Copy full SHA for 7aeafd9
src/Tween.js
@@ -311,8 +311,10 @@ p.render = function () {
311
};
312
const maxPer = this.perFrame - this.accuracy;
313
const startTime = item.delay && reverse ? -maxPer : 0;
314
- if (progressTime >= startTime &&
315
- !(progressTime > duration && item.mode === 'onComplete') &&
+ if ((progressTime >= startTime &&
+ !(progressTime > duration && item.mode === 'onComplete')
316
+ || (progressTime < startTime && item.mode && item.mode !== 'onStart')
317
+ ) &&
318
this.start[i]) {
319
const updateAnim = this.updateAnim === 'update';
320
progressTime = (progressTime < maxPer) && !reverse
0 commit comments