diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-01 13:50:55 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-01 13:50:55 +0200 |
| commit | db2c28d9ca9f69b4bf181d2360df139dcf617324 (patch) | |
| tree | 5548089533afa528f7a8f0d56c514dab3e981e50 /src/GraphicObjects/NumericControl.cs | |
| parent | ab038cf43805cc3aa071ae2ecbf3fa011fd3a6ca (diff) | |
use RegisterForRedraw when applicable
Diffstat (limited to 'src/GraphicObjects/NumericControl.cs')
| -rw-r--r-- | src/GraphicObjects/NumericControl.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GraphicObjects/NumericControl.cs b/src/GraphicObjects/NumericControl.cs index 0f74eb2d..b1b097c6 100644 --- a/src/GraphicObjects/NumericControl.cs +++ b/src/GraphicObjects/NumericControl.cs @@ -30,7 +30,7 @@ namespace Crow minValue = value; NotifyValueChanged ("Minimum", minValue); - RegisterForGraphicUpdate (); + RegisterForRedraw (); } } [XmlAttributeAttribute()][DefaultValue(100.0)] @@ -43,7 +43,7 @@ namespace Crow maxValue = value; NotifyValueChanged ("Maximum", maxValue); - RegisterForGraphicUpdate (); + RegisterForRedraw (); } } [XmlAttributeAttribute()][DefaultValue(1.0)] @@ -56,7 +56,7 @@ namespace Crow smallStep = value; NotifyValueChanged ("SmallIncrement", smallStep); - RegisterForGraphicUpdate (); + RegisterForRedraw (); } } [XmlAttributeAttribute()][DefaultValue(5.0)] @@ -69,7 +69,7 @@ namespace Crow bigStep = value; NotifyValueChanged ("LargeIncrement", bigStep); - RegisterForGraphicUpdate (); + RegisterForRedraw (); } } [XmlAttributeAttribute()][DefaultValue(0.0)] |