From db2c28d9ca9f69b4bf181d2360df139dcf617324 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Mon, 1 Aug 2016 13:50:55 +0200 Subject: use RegisterForRedraw when applicable --- src/GraphicObjects/TextRun.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/GraphicObjects/TextRun.cs') diff --git a/src/GraphicObjects/TextRun.cs b/src/GraphicObjects/TextRun.cs index 35b46f18..6b6f7999 100644 --- a/src/GraphicObjects/TextRun.cs +++ b/src/GraphicObjects/TextRun.cs @@ -55,7 +55,7 @@ namespace Crow if (horizontalStretch == value) return; horizontalStretch = value; - RegisterForGraphicUpdate (); + RegisterForRedraw (); NotifyValueChanged ("HorizontalStretch", horizontalStretch); } } @@ -67,8 +67,8 @@ namespace Crow if (verticalStretch == value) return; verticalStretch = value; + RegisterForRedraw (); NotifyValueChanged ("VerticalStretch", verticalStretch); - } } [XmlAttributeAttribute ()] @@ -83,8 +83,6 @@ namespace Crow return; RegisterForGraphicUpdate (); - this.RegisterForLayouting (LayoutingType.Sizing); - _text = value; -- cgit v1.3.1-4-g156e