Commit a023cda3 authored by rockyl's avatar rockyl

修复obj补间动画的问题

parent 7bbdee31
...@@ -149,8 +149,8 @@ export class Tween extends HashObject { ...@@ -149,8 +149,8 @@ export class Tween extends HashObject {
this.loop = options ? options.loop : 0; this.loop = options ? options.loop : 0;
this.autoPlay = options ? (options.hasOwnProperty('autoPlay') ? options.autoPlay : true) : true; this.autoPlay = options ? (options.hasOwnProperty('autoPlay') ? options.autoPlay : true) : true;
this.fields = options ? options.fields : null; this.fields = options ? options.fields : null;
this.onLoopComplete = options.onLoopComplete; this.onLoopComplete = options ? options.onLoopComplete : null;
this.onComplete = options.onComplete; this.onComplete = options ? options.onComplete : null;
this.plugins = plugins; this.plugins = plugins;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment