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/Slider.cs | |
| parent | ab038cf43805cc3aa071ae2ecbf3fa011fd3a6ca (diff) | |
use RegisterForRedraw when applicable
Diffstat (limited to 'src/GraphicObjects/Slider.cs')
| -rw-r--r-- | src/GraphicObjects/Slider.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/GraphicObjects/Slider.cs b/src/GraphicObjects/Slider.cs index bce74971..526c2759 100644 --- a/src/GraphicObjects/Slider.cs +++ b/src/GraphicObjects/Slider.cs @@ -65,7 +65,7 @@ namespace Crow if (_cursorColor == value) return; _cursorColor = value; - RegisterForGraphicUpdate (); + RegisterForRedraw (); NotifyValueChanged ("CursorColor", _cursorColor); } } @@ -76,7 +76,6 @@ namespace Crow if (_cursorSize == value) return; _cursorSize = value; - RegisterForLayouting (LayoutingType.Sizing); RegisterForGraphicUpdate (); NotifyValueChanged ("CursorSize", _cursorSize); } |