Skip to content

Commit 9f651da

Browse files
committed
Repeat and Yoyo combo work.
1 parent 6b66b85 commit 9f651da

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

v3/src/checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var CHECKSUM = {
2-
build: 'f8ca0120-3ab1-11e7-be5c-338bdccc3159'
2+
build: '673b3ff0-3ab4-11e7-a771-cbff81527fed'
33
};
44
module.exports = CHECKSUM;

v3/src/tween/Tween.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ Tween.prototype = {
109109

110110
if (this.countdown <= 0)
111111
{
112+
// Refactor this, so we can use countdown for repeatDelay and onCompleteDelay as well
112113
this.loadValues();
113114
}
114115
}
@@ -128,6 +129,7 @@ Tween.prototype = {
128129
return (this.state !== 5);
129130
},
130131

132+
// Merge with Backwards and include in update?
131133
forward: function (delta)
132134
{
133135
var elapsed = this.elapsed;
@@ -185,7 +187,7 @@ Tween.prototype = {
185187
this.elapsed = elapsed;
186188
this.progress = progress;
187189

188-
if (progress === 0)
190+
if (progress === 1)
189191
{
190192
// Tween has reached start
191193
// Do we yoyo or repeat?

0 commit comments

Comments
 (0)