hide the mirror or rotation fields we are not using
This commit is contained in:
parent
c15bba62fb
commit
6e08d0d6f5
@ -166,6 +166,18 @@ namespace SpriteLibrary
|
|||||||
if (!TCTabPages.TabPages.Contains(tpMirrorRotate))
|
if (!TCTabPages.TabPages.Contains(tpMirrorRotate))
|
||||||
TCTabPages.TabPages.Add(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();
|
UpdateChosenAreaLabel();
|
||||||
ResumeLayout();
|
ResumeLayout();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user