Skip to content

Commit

Permalink
duh!
Browse files Browse the repository at this point in the history
  • Loading branch information
janpaepke committed Apr 29, 2015
1 parent 00cd4da commit e4c48da
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dev/src/plugins/animation.gsap.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@
state = Scene.state();
if (_tween.repeat && _tween.repeat() === -1) {
// infinite loop, so not in relation to progress
if (state === SCENE_STATE_DURING && _tween.paused()) {
if (state === 'DURING' && _tween.paused()) {
_tween.play();
} else if (state !== SCENE_STATE_DURING && !_tween.paused()) {
} else if (state !== 'DURING' && !_tween.paused()) {
_tween.pause();
}
} else if (progress != _tween.progress()) { // do we even need to update the progress?
Expand Down
4 changes: 2 additions & 2 deletions dev/todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
- run test a couple of times `gulp test`
- commit
- push
- add git tag
- push tags [optional: edit tag on GitHub]
- add git tag `git tag v2.0.x`
- push tags `git push origin --tags` [optional: edit tag on GitHub]

- update gh-pages
- push stub files to gh-pages/js
Expand Down
2 changes: 1 addition & 1 deletion scrollmagic/minified/plugins/animation.gsap.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions scrollmagic/uncompressed/plugins/animation.gsap.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@
state = Scene.state();
if (_tween.repeat && _tween.repeat() === -1) {
// infinite loop, so not in relation to progress
if (state === SCENE_STATE_DURING && _tween.paused()) {
if (state === 'DURING' && _tween.paused()) {
_tween.play();
} else if (state !== SCENE_STATE_DURING && !_tween.paused()) {
} else if (state !== 'DURING' && !_tween.paused()) {
_tween.pause();
}
} else if (progress != _tween.progress()) { // do we even need to update the progress?
Expand Down

0 comments on commit e4c48da

Please sign in to comment.