We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b864325 commit 0dc04c5Copy full SHA for 0dc04c5
src/animations/Animation.js
@@ -361,8 +361,8 @@ var Animation = new Class({
361
{
362
// When is the first update due?
363
state.accumulator = 0;
364
-
365
- state.nextTick = state.msPerFrame || state.currentFrame.duration;
+
+ state.nextTick = state.frameRate === state.currentAnim.frameRate ? state.currentFrame.duration || state.msPerFrame : state.msPerFrame;
366
},
367
368
/**
@@ -515,7 +515,7 @@ var Animation = new Class({
515
516
state.accumulator -= state.nextTick;
517
518
519
520
521
0 commit comments