From db2c28d9ca9f69b4bf181d2360df139dcf617324 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Mon, 1 Aug 2016 13:50:55 +0200 Subject: use RegisterForRedraw when applicable --- src/GraphicObjects/NumericControl.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/GraphicObjects/NumericControl.cs') 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)] -- cgit v1.3.1-4-g156e