mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-09 03:53:11 +00:00
sprite frame count fix
This commit is contained in:
@@ -300,7 +300,8 @@ public class DefineSpriteTag extends CharacterTag implements DrawableTag, Timeli
|
||||
|
||||
@Override
|
||||
public int getNumFrames() {
|
||||
return frameCount;
|
||||
// flashplayer ignores the count stored in frameCount
|
||||
return getTimeline().getFrames().size(); // frameCount
|
||||
}
|
||||
|
||||
private int getRealFrameCount() {
|
||||
|
||||
Reference in New Issue
Block a user