commit | ad500941a8e25090f571180a6ca0bd49814f4a74 | [log] [tgz] |
---|---|---|
author | mamos <michael.amos@ubnt.com> | Wed Mar 13 21:01:24 2019 -0700 |
committer | mamos <michael.amos@ubnt.com> | Wed Mar 13 21:01:24 2019 -0700 |
tree | 4ef1d1095fe6baf143959bc63b2af0842690892a | |
parent | 2a464a261371337519892f7051b57bef84ceebf4 [diff] |
negate segments check
diff --git a/player/js/animation/AnimationItem.js b/player/js/animation/AnimationItem.js index 851b423..665832c 100644 --- a/player/js/animation/AnimationItem.js +++ b/player/js/animation/AnimationItem.js
@@ -436,7 +436,7 @@ } else { this.segments.push(arr); } - if (this.segments.length) { + if (!this.segments.length) { this.adjustSegment(this.segments.shift(), 0); } if (this.isPaused) {