mirror of
https://github.com/konvajs/konva.git
synced 2025-10-08 00:14:23 +08:00
fixed transition bug related to frame.timeDiff
This commit is contained in:
7
dist/kinetic-core.js
vendored
7
dist/kinetic-core.js
vendored
@@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
4
dist/kinetic-core.min.js
vendored
4
dist/kinetic-core.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user