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/TextBox.cs | |
| parent | 643d44f381962d6814d3676cee322c41018406eb (diff) | |
use LayoutingType Enum everywhere instead of casting to (int)
Diffstat (limited to 'src/GraphicObjects/TextBox.cs')
| -rw-r--r-- | src/GraphicObjects/TextBox.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 |