From 30a3d1e4b3ea239e18b3eb27a4b5a253dfb591f3 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Sun, 17 Sep 2017 17:10:03 -0500 Subject: [PATCH] update the selected box from the SpriteInfo --- SpriteLibrary/SpriteEntryForm.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SpriteLibrary/SpriteEntryForm.cs b/SpriteLibrary/SpriteEntryForm.cs index 1c0e422..6c49cfc 100644 --- a/SpriteLibrary/SpriteEntryForm.cs +++ b/SpriteLibrary/SpriteEntryForm.cs @@ -178,7 +178,9 @@ namespace SpriteLibrary cbMirrorV.Checked = AI.MirrorVertically; cbAnimation.Text = AI.AnimationToUse.ToString(); tbNumFrames.Text = AI.NumFrames.ToString(); - lblChosenArea.Text = AI.Width + "x" + AI.Height; + //lblChosenArea.Text = AI.Width + "x" + AI.Height; + ChosenArea = new Rectangle(AI.StartPoint.X, AI.StartPoint.Y, AI.Width, AI.Height); + UpdateChosenAreaLabel(); //Radio buttons if (AI.FieldsToUse == AnimationType.SpriteDefinition) rbFromImage.Checked = true; if (AI.FieldsToUse == AnimationType.Mirror) rbMirror.Checked = true;