diff options
Diffstat (limited to 'src/GraphicObjects/NumericControl.cs')
| -rw-r--r-- | src/GraphicObjects/NumericControl.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/GraphicObjects/NumericControl.cs b/src/GraphicObjects/NumericControl.cs index 247b4e92..c6d76bcd 100644 --- a/src/GraphicObjects/NumericControl.cs +++ b/src/GraphicObjects/NumericControl.cs @@ -90,8 +90,6 @@ namespace go if (value == _actualValue) return; - int oldV = Convert.ToInt32(_actualValue); - if (value < minValue) _actualValue = minValue; else if (value > maxValue) @@ -99,7 +97,7 @@ namespace go else _actualValue = value; - onValueChanged(this,new ValueChangeEventArgs("Value", oldV, Convert.ToInt32( _actualValue))); + onValueChanged(this,new ValueChangeEventArgs("Value", Convert.ToInt32( _actualValue))); registerForGraphicUpdate(); } } |