mirror of
https://github.com/wagesj45/butterflow-ui.git
synced 2025-09-09 03:00:39 -05:00
Menu progress
This commit is contained in:
parent
9af3ad400b
commit
0ffd5c401b
7 changed files with 142 additions and 20 deletions
|
|
@ -312,6 +312,7 @@ namespace butterflow_ui
|
|||
|
||||
/// <summary> Gets or sets the size of the pixel neighborhood. </summary>
|
||||
/// <value> The size of the pixel neighborhood. </value>
|
||||
/// <remarks> Per butterflow's documentation, the valid range for --poly-n is {5,7}. </remarks>
|
||||
public string PixelNeighborhood
|
||||
{
|
||||
get
|
||||
|
|
@ -322,8 +323,7 @@ namespace butterflow_ui
|
|||
{
|
||||
interpreter.Interpret(value);
|
||||
|
||||
// Per butterflow's documentation, the valid range for --poly-n is {5,7}
|
||||
if (interpreter.Int >= 5 || interpreter.Int <= 7)
|
||||
if (interpreter.Int >= 5 && interpreter.Int <= 7)
|
||||
{
|
||||
this.pixelNeighborhood = interpreter.Int;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue