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

@@ -3,7 +3,7 @@
* http://www.kineticjs.com/
* Copyright 2012, Eric Rowell
* Licensed under the MIT or GPL Version 2 licenses.
* Date: Mar 18 2012
* Date: Mar 19 2012
*
* Copyright (C) 2011 - 2012 by Eric Rowell
*
@@ -75,6 +75,8 @@ Kinetic.GlobalObject = {
}
}
}
this.frame.lastTime = 0;
return false;
},
_endTransition: function() {
@@ -196,9 +198,6 @@ Kinetic.GlobalObject = {
if(this._isaCanvasAnimating()) {
that._animationLoop();
}
else {
this.frame.lastTime = 0;
}
}
};

File diff suppressed because one or more lines are too long