diff --git a/Greenshot/Drawing/TextContainer.cs b/Greenshot/Drawing/TextContainer.cs index 82e67f09e..dfe53fb84 100644 --- a/Greenshot/Drawing/TextContainer.cs +++ b/Greenshot/Drawing/TextContainer.cs @@ -133,6 +133,14 @@ namespace Greenshot.Drawing { PropertyChanged += TextContainer_PropertyChanged; FieldChanged += TextContainer_FieldChanged; } + + + public override void Invalidate() { + base.Invalidate(); + if (_textBox != null && _textBox.Visible) { + _textBox.Invalidate(); + } + } public void FitToText() { UpdateFormat();