1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-06-20 12:09:10 +02:00

Fixed paragraphs sometimes not updating their position properly when hidden because they're empty

This commit is contained in:
Ell 2022-08-04 20:43:04 +02:00
parent 4d34a2fac1
commit b7b1490d70
2 changed files with 2 additions and 1 deletions

View file

@ -32,6 +32,7 @@ Improvements
Fixes
- Fixed data texture atlases not allowing most characters in their region names
- Fixed paragraphs sometimes not updating their position properly when hidden because they're empty
## 6.0.0
### MLEM

View file

@ -110,7 +110,7 @@ namespace MLEM.Ui.Elements {
private string text;
private StyleProp<TextAlignment> alignment;
private StyleProp<GenericFont> regularFont;
private bool forceHide;
private bool forceHide = true;
/// <summary>
/// Creates a new paragraph with the given settings.