diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-06 08:01:25 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-06 08:01:25 +0100 |
| commit | 6577bc6e136c7440117bd7bb49cb4a4fd3fbcfa3 (patch) | |
| tree | cf104fa3c2430f286848133cf1c20d7b34382581 /src/GraphicObjects/Slider.cs | |
| parent | 643d44f381962d6814d3676cee322c41018406eb (diff) | |
use LayoutingType Enum everywhere instead of casting to (int)
Diffstat (limited to 'src/GraphicObjects/Slider.cs')
| -rw-r--r-- | src/GraphicObjects/Slider.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/Slider.cs b/src/GraphicObjects/Slider.cs index 495683d2..a9bb5b8e 100644 --- a/src/GraphicObjects/Slider.cs +++ b/src/GraphicObjects/Slider.cs @@ -58,7 +58,7 @@ namespace Crow if (_cursorSize == value) return; _cursorSize = value; - RegisterForLayouting ((int)LayoutingType.Sizing); + RegisterForLayouting (LayoutingType.Sizing); registerForGraphicUpdate (); NotifyValueChanged ("CursorSize", _cursorSize); } @@ -72,7 +72,7 @@ namespace Crow return; _orientation = value; - RegisterForLayouting ((int)LayoutingType.All); + RegisterForLayouting (LayoutingType.All); NotifyValueChanged ("Orientation", _orientation); } } |