mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 22:18:29 +00:00
Animation.createFromAseprite
would calculate an incorrect frame duration if the frames didn't all have the same speed.
This commit is contained in:
parent
1a086fc57c
commit
f95d1d224b
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ var AnimationManager = new Class({
|
|||
animFrames.push({
|
||||
key: key,
|
||||
frame: entry.frame,
|
||||
duration: (minDuration - entry.duration)
|
||||
duration: (entry.duration - minDuration)
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue