diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-05 16:14:26 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-05 16:14:26 +0100 |
| commit | 9188b4aaeeef71a525292dc92325555f7d633982 (patch) | |
| tree | 9feb94055a2b8cbd6af13091bfae074fc7be8183 /src/GraphicObjects/NumericControl.cs | |
| parent | 829c71bc6ae4d92553627e1c0d21fc0147606e0e (diff) | |
resolve several bug in scrollbar
Diffstat (limited to 'src/GraphicObjects/NumericControl.cs')
| -rw-r--r-- | src/GraphicObjects/NumericControl.cs | 12 |
1 files changed, 8 insertions, 4 deletions
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)] |