aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TextBox.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-07 17:08:39 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-07 17:08:39 +0100
commit31a67ec22a1d083ffaee818ad18b6b1ab26426fb (patch)
tree83102735e34afe6bea2e6d1bbd94ecb68e7fae2c /src/GraphicObjects/TextBox.cs
parent96eae258f27ffbaadb5eafb0e7f8750c210c523a (diff)
parentb4da579b1bf48573c90b2a8a0d12d883fa71e773 (diff)
Merge SimplerLayoutingQueue
Diffstat (limited to 'src/GraphicObjects/TextBox.cs')
-rw-r--r--src/GraphicObjects/TextBox.cs4
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