fixed transition bug related to frame.timeDiff

This commit is contained in:
Eric Rowell
2012-03-19 19:39:41 -07:00
parent 70fe63b2b6
commit 588b65a849
4 changed files with 52 additions and 18 deletions

View File

@@ -47,6 +47,8 @@ Kinetic.GlobalObject = {
}
}
}
this.frame.lastTime = 0;
return false;
},
_endTransition: function() {
@@ -168,9 +170,6 @@ Kinetic.GlobalObject = {
if(this._isaCanvasAnimating()) {
that._animationLoop();
}
else {
this.frame.lastTime = 0;
}
}
};