aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TextRun.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-06 08:01:25 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-06 08:01:25 +0100
commit6577bc6e136c7440117bd7bb49cb4a4fd3fbcfa3 (patch)
treecf104fa3c2430f286848133cf1c20d7b34382581 /src/GraphicObjects/TextRun.cs
parent643d44f381962d6814d3676cee322c41018406eb (diff)
use LayoutingType Enum everywhere instead of casting to (int)
Diffstat (limited to 'src/GraphicObjects/TextRun.cs')
-rw-r--r--src/GraphicObjects/TextRun.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/TextRun.cs b/src/GraphicObjects/TextRun.cs
index bee580b3..76dde9a8 100644
--- a/src/GraphicObjects/TextRun.cs
+++ b/src/GraphicObjects/TextRun.cs
@@ -60,7 +60,7 @@ namespace Crow
return;
registerForGraphicUpdate();
- this.RegisterForLayouting ((int)LayoutingType.Sizing);
+ this.RegisterForLayouting (LayoutingType.Sizing);
_text = value;