mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-26 06:28:35 +01:00
Fixed paragraphs sometimes not updating their position properly when hidden because they're empty
This commit is contained in:
parent
4d34a2fac1
commit
b7b1490d70
2 changed files with 2 additions and 1 deletions
|
@ -32,6 +32,7 @@ Improvements
|
||||||
|
|
||||||
Fixes
|
Fixes
|
||||||
- Fixed data texture atlases not allowing most characters in their region names
|
- 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
|
## 6.0.0
|
||||||
### MLEM
|
### MLEM
|
||||||
|
|
|
@ -110,7 +110,7 @@ namespace MLEM.Ui.Elements {
|
||||||
private string text;
|
private string text;
|
||||||
private StyleProp<TextAlignment> alignment;
|
private StyleProp<TextAlignment> alignment;
|
||||||
private StyleProp<GenericFont> regularFont;
|
private StyleProp<GenericFont> regularFont;
|
||||||
private bool forceHide;
|
private bool forceHide = true;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates a new paragraph with the given settings.
|
/// Creates a new paragraph with the given settings.
|
||||||
|
|
Loading…
Reference in a new issue