Skip to content

Commit e4c48da

Browse files
committed
duh!
1 parent 00cd4da commit e4c48da

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

dev/src/plugins/animation.gsap.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@
122122
state = Scene.state();
123123
if (_tween.repeat && _tween.repeat() === -1) {
124124
// infinite loop, so not in relation to progress
125-
if (state === SCENE_STATE_DURING && _tween.paused()) {
125+
if (state === 'DURING' && _tween.paused()) {
126126
_tween.play();
127-
} else if (state !== SCENE_STATE_DURING && !_tween.paused()) {
127+
} else if (state !== 'DURING' && !_tween.paused()) {
128128
_tween.pause();
129129
}
130130
} else if (progress != _tween.progress()) { // do we even need to update the progress?

dev/todo.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
- run test a couple of times `gulp test`
1919
- commit
2020
- push
21-
- add git tag
22-
- push tags [optional: edit tag on GitHub]
21+
- add git tag `git tag v2.0.x`
22+
- push tags `git push origin --tags` [optional: edit tag on GitHub]
2323

2424
- update gh-pages
2525
- push stub files to gh-pages/js

scrollmagic/minified/plugins/animation.gsap.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scrollmagic/uncompressed/plugins/animation.gsap.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@
128128
state = Scene.state();
129129
if (_tween.repeat && _tween.repeat() === -1) {
130130
// infinite loop, so not in relation to progress
131-
if (state === SCENE_STATE_DURING && _tween.paused()) {
131+
if (state === 'DURING' && _tween.paused()) {
132132
_tween.play();
133-
} else if (state !== SCENE_STATE_DURING && !_tween.paused()) {
133+
} else if (state !== 'DURING' && !_tween.paused()) {
134134
_tween.pause();
135135
}
136136
} else if (progress != _tween.progress()) { // do we even need to update the progress?

0 commit comments

Comments
 (0)