1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-05-16 22:28:46 +02: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();
return this.displayedText;
}
set => this.explicitlySetText = value;
set {
this.explicitlySetText = value;
this.CheckTextChange();
}
}
/// <summary>
/// If this paragraph should automatically adjust its width based on the width of the text within it