This commit is contained in:
Лаврёнов Антон
2014-09-23 17:32:13 +08:00
parent 0e2136387c
commit dbc7a83a50
3 changed files with 5 additions and 5 deletions

View File

@@ -6431,7 +6431,7 @@ var Kinetic = {};
this.anim = new Kinetic.Animation(function() {
that.tween.onEnterFrame();
}, node.getLayer());
}, node.getLayer() || ((node instanceof Kinetic.Stage) ? node.getLayers() : null));
this.tween = new Tween(key, function(i) {
that._tweenFunc(i);

6
kinetic.min.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -48,7 +48,7 @@
this.anim = new Kinetic.Animation(function() {
that.tween.onEnterFrame();
}, node.getLayer());
}, node.getLayer() || ((node instanceof Kinetic.Stage) ? node.getLayers() : null));
this.tween = new Tween(key, function(i) {
that._tweenFunc(i);