show total number of animations

This commit is contained in:
Tim Young 2017-09-20 10:51:49 -05:00
parent 5420c2131b
commit 087b4283fc
1 changed files with 2 additions and 1 deletions

View File

@ -128,7 +128,8 @@ namespace SpriteLibrary
{ {
cbAnimation.Items.Add(i.ToString()); cbAnimation.Items.Add(i.ToString());
} }
lblAnimationNumber.Text = CurrentSIAnimation.ToString(); //Update the animation number text
lblAnimationNumber.Text = CurrentSIAnimation.ToString() + " of " + (TempInformation.Animations.Count() -1);
if (CurrentSIAnimation == 0) if (CurrentSIAnimation == 0)
{ {
rbFromImage.Checked = true; rbFromImage.Checked = true;