mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Fix for BUG-1688, we just needed to invalidate the TextBox when the TextContainer was invalidated.
This commit is contained in:
parent
69c5780c6f
commit
ca87bca0d1
1 changed files with 8 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue