update the selected box from the SpriteInfo
This commit is contained in:
parent
7dea96b266
commit
30a3d1e4b3
@ -178,7 +178,9 @@ namespace SpriteLibrary
|
|||||||
cbMirrorV.Checked = AI.MirrorVertically;
|
cbMirrorV.Checked = AI.MirrorVertically;
|
||||||
cbAnimation.Text = AI.AnimationToUse.ToString();
|
cbAnimation.Text = AI.AnimationToUse.ToString();
|
||||||
tbNumFrames.Text = AI.NumFrames.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
|
//Radio buttons
|
||||||
if (AI.FieldsToUse == AnimationType.SpriteDefinition) rbFromImage.Checked = true;
|
if (AI.FieldsToUse == AnimationType.SpriteDefinition) rbFromImage.Checked = true;
|
||||||
if (AI.FieldsToUse == AnimationType.Mirror) rbMirror.Checked = true;
|
if (AI.FieldsToUse == AnimationType.Mirror) rbMirror.Checked = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user