mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
fixed transition bug related to frame.timeDiff
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user