Fix frame number shown in FrameProperties.

This commit is contained in:
David Capello 2012-07-09 18:41:32 -03:00
parent e1fb3099b4
commit 1b9048f17a

View File

@ -112,7 +112,7 @@ void FramePropertiesCommand::onExecute(Context* context)
if (m_target == ALL_FRAMES)
frame->setText("All");
else
frame->setTextf("%d", (int)sprite_frame);
frame->setTextf("%d", (int)sprite_frame+1);
frlen->setTextf("%d", sprite->getFrameDuration(sprite->getCurrentFrame()));