From 4631efa301692f394ca88a4733b31d9e1f88564e Mon Sep 17 00:00:00 2001 From: Chris Maltby Date: Tue, 11 Jun 2024 16:34:02 +0100 Subject: [PATCH] Sprite editor frame numbers updated to start from frame "0" to match values used in "Set Animation Frame" event --- CHANGELOG.md | 1 + src/components/sprites/SpriteAnimationTimelineFrame.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42be544f3..d8550d6b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated to [GBDK](https://github.com/gbdk-2020/gbdk-2020) version 4.3.0 - When using "Color Only" mode, GB rom file extension changed to ".gbc" +- Sprite editor frame numbers updated to start from frame "0" to match values used in "Set Animation Frame" event ### Fixed diff --git a/src/components/sprites/SpriteAnimationTimelineFrame.tsx b/src/components/sprites/SpriteAnimationTimelineFrame.tsx index df56847c4..978454bb5 100644 --- a/src/components/sprites/SpriteAnimationTimelineFrame.tsx +++ b/src/components/sprites/SpriteAnimationTimelineFrame.tsx @@ -164,7 +164,7 @@ class Card extends React.Component { metaspriteId={id} spriteSheetId={spriteSheetId} /> - {index + 1} + {index} )