From 6577bc6e136c7440117bd7bb49cb4a4fd3fbcfa3 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Sat, 6 Feb 2016 08:01:25 +0100 Subject: use LayoutingType Enum everywhere instead of casting to (int) --- src/GraphicObjects/TextBox.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/GraphicObjects/TextBox.cs') diff --git a/src/GraphicObjects/TextBox.cs b/src/GraphicObjects/TextBox.cs index 143d148f..91122523 100644 --- a/src/GraphicObjects/TextBox.cs +++ b/src/GraphicObjects/TextBox.cs @@ -199,9 +199,9 @@ namespace Crow break; } if (Width < 0) - RegisterForLayouting ((int)LayoutingType.Width); + RegisterForLayouting (LayoutingType.Width); if (Height < 0) - RegisterForLayouting ((int)LayoutingType.Height); + RegisterForLayouting (LayoutingType.Height); registerForGraphicUpdate(); } #endregion -- cgit v1.3.1-4-g156e