1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-25 14:08:34 +01:00

fixed text not being checked for changes anymore when set explicitly (since f8567cf)

This commit is contained in:
Ell 2022-12-23 15:08:40 +01:00
parent f5be677b83
commit f8ebbdacdf

View file

@ -76,7 +76,10 @@ namespace MLEM.Ui.Elements {
this.CheckTextChange(); this.CheckTextChange();
return this.displayedText; return this.displayedText;
} }
set => this.explicitlySetText = value; set {
this.explicitlySetText = value;
this.CheckTextChange();
}
} }
/// <summary> /// <summary>
/// If this paragraph should automatically adjust its width based on the width of the text within it /// If this paragraph should automatically adjust its width based on the width of the text within it