@xtia/timeline 1.1.9 → 1.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -107,7 +107,7 @@ export class Timeline {
107
107
  else
108
108
  this.endAction = {
109
109
  type: EndAction[endAction],
110
- at: this.point(0),
110
+ at: this.start,
111
111
  };
112
112
  }
113
113
  /**
@@ -327,7 +327,7 @@ export class Timeline {
327
327
  this.seek(arg.start);
328
328
  return this.seek(arg.end, arg.duration / this.timeScale, easer);
329
329
  }
330
- if (arg !== undefined && requestAnimFrame) {
330
+ if (arg === undefined && requestAnimFrame) {
331
331
  this.playWithRAF();
332
332
  return;
333
333
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtia/timeline",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "repository": {
5
5
  "url": "https://github.com/tiadrop/timeline",
6
6
  "type": "github"