diff options
| author | j-p <jp.bruyere@live.be> | 2016-08-02 00:25:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-02 00:25:42 +0200 |
| commit | 7aa1b2660fa257e570fb75f4c03bb33f1d7d151e (patch) | |
| tree | 639804dec0ca0d0cfd96cec38489808f9fce197e /src/GraphicObjects/TextBox.cs | |
| parent | fd5b776826028a0c12a92f11d1daf4065d4c6024 (diff) | |
| parent | 77f7028debf55a8d6faff8e88c18e33500867774 (diff) | |
Merge pull request #13 from jpbruyere/UpdateQueuingReview
Update queuing review and styling debug
Diffstat (limited to 'src/GraphicObjects/TextBox.cs')
| -rw-r--r-- | src/GraphicObjects/TextBox.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/GraphicObjects/TextBox.cs b/src/GraphicObjects/TextBox.cs index fc02f0d6..5c3772b7 100644 --- a/src/GraphicObjects/TextBox.cs +++ b/src/GraphicObjects/TextBox.cs @@ -49,7 +49,7 @@ namespace Crow set { base.HasFocus = value; - RegisterForGraphicUpdate(); + RegisterForRedraw(); } } @@ -210,10 +210,6 @@ namespace Crow default: break; } - if (Width < 0) - RegisterForLayouting (LayoutingType.Width); - if (Height < 0) - RegisterForLayouting (LayoutingType.Height); RegisterForGraphicUpdate(); } public override void onKeyPress (object sender, KeyPressEventArgs e) @@ -225,10 +221,6 @@ namespace Crow SelRelease = -1; SelBegin = new Point(CurrentColumn, SelBegin.Y); - if (Width < 0) - RegisterForLayouting (LayoutingType.Width); - if (Height < 0) - RegisterForLayouting (LayoutingType.Height); RegisterForGraphicUpdate(); } #endregion |