From 9188b4aaeeef71a525292dc92325555f7d633982 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Fri, 5 Feb 2016 16:14:26 +0100 Subject: resolve several bug in scrollbar --- src/GraphicObjects/NumericControl.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/GraphicObjects/NumericControl.cs') diff --git a/src/GraphicObjects/NumericControl.cs b/src/GraphicObjects/NumericControl.cs index 3e35f102..409a200f 100644 --- a/src/GraphicObjects/NumericControl.cs +++ b/src/GraphicObjects/NumericControl.cs @@ -29,7 +29,8 @@ namespace Crow return; minValue = value; - + NotifyValueChanged ("Minimum", minValue); + registerForGraphicUpdate (); } } [XmlAttributeAttribute()][DefaultValue(100.0)] @@ -41,7 +42,8 @@ namespace Crow return; maxValue = value; - + NotifyValueChanged ("Maximum", maxValue); + registerForGraphicUpdate (); } } [XmlAttributeAttribute()][DefaultValue(1.0)] @@ -53,7 +55,8 @@ namespace Crow return; smallStep = value; - + NotifyValueChanged ("SmallIncrement", smallStep); + registerForGraphicUpdate (); } } [XmlAttributeAttribute()][DefaultValue(5.0)] @@ -65,7 +68,8 @@ namespace Crow return; bigStep = value; - + NotifyValueChanged ("LargeIncrement", bigStep); + registerForGraphicUpdate (); } } [XmlAttributeAttribute()][DefaultValue(0)] -- cgit v1.3.1-4-g156e