Update FrmMutationPixelDimming.cs

This commit is contained in:
Tiago Conceição
2020-09-03 22:30:51 +01:00
parent 4b855b517d
commit 448aedc089
@@ -452,6 +452,12 @@ namespace UVtools.GUI.Forms
return;
}
if (BorderSize == 0 && DimsOnlyBorders)
{
MessageBox.Show("Border size must be positive in order to use \"Dims only the borders\" function.", Text, MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
var matrixTextbox = new[]
{
new MatrixTexbox(EvenPattern, tbEvenPattern),