Animation.createFromAseprite would calculate an incorrect frame duration if the frames didn't all have the same speed.

This commit is contained in:
Richard Davey 2021-06-01 16:11:27 +01:00
parent 1a086fc57c
commit f95d1d224b

View file

@ -459,7 +459,7 @@ var AnimationManager = new Class({
animFrames.push({
key: key,
frame: entry.frame,
duration: (minDuration - entry.duration)
duration: (entry.duration - minDuration)
});
});