From 6e08d0d6f504f82ddc4c0ab69155933aea2a7750 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Wed, 20 Sep 2017 10:55:00 -0500 Subject: [PATCH] hide the mirror or rotation fields we are not using --- SpriteLibrary/SpriteEntryForm.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/SpriteLibrary/SpriteEntryForm.cs b/SpriteLibrary/SpriteEntryForm.cs index c4f78f6..ae78e3a 100644 --- a/SpriteLibrary/SpriteEntryForm.cs +++ b/SpriteLibrary/SpriteEntryForm.cs @@ -166,6 +166,18 @@ namespace SpriteLibrary if (!TCTabPages.TabPages.Contains(tpMirrorRotate)) TCTabPages.TabPages.Add(tpMirrorRotate); } + if(rbMirror.Checked) + { + cbMirrorH.Visible = true; + cbMirrorV.Visible = true; + tbRotation.Visible = false; + } + if (rbRotation.Checked) + { + cbMirrorH.Visible = false; + cbMirrorV.Visible = false; + tbRotation.Visible = true; + } UpdateChosenAreaLabel(); ResumeLayout(); }