mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-26 14:38:34 +01:00
ensure that the paragraph changes occur when new links are added
This commit is contained in:
parent
b46975391b
commit
6e75e9ebb4
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ namespace MLEM.Ui.Elements {
|
||||||
protected void SetTextDirty() {
|
protected void SetTextDirty() {
|
||||||
this.TokenizedText = null;
|
this.TokenizedText = null;
|
||||||
// only set our area dirty if our size changed as a result of this action or if we have link children we need to update
|
// only set our area dirty if our size changed as a result of this action or if we have link children we need to update
|
||||||
if (!this.AreaDirty && (this.Children.Count > 0 || !this.CalcActualSize(this.ParentArea).Equals(this.DisplayArea.Size, Epsilon)))
|
if (!this.AreaDirty && (!this.CalcActualSize(this.ParentArea).Equals(this.DisplayArea.Size, Epsilon) || this.Children.Count > 0))
|
||||||
this.SetAreaDirty();
|
this.SetAreaDirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue