mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 09:23:32 +00:00
Fix frame number shown in FrameProperties.
This commit is contained in:
parent
e1fb3099b4
commit
1b9048f17a
@ -112,7 +112,7 @@ void FramePropertiesCommand::onExecute(Context* context)
|
|||||||
if (m_target == ALL_FRAMES)
|
if (m_target == ALL_FRAMES)
|
||||||
frame->setText("All");
|
frame->setText("All");
|
||||||
else
|
else
|
||||||
frame->setTextf("%d", (int)sprite_frame);
|
frame->setTextf("%d", (int)sprite_frame+1);
|
||||||
|
|
||||||
frlen->setTextf("%d", sprite->getFrameDuration(sprite->getCurrentFrame()));
|
frlen->setTextf("%d", sprite->getFrameDuration(sprite->getCurrentFrame()));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user