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

fixed style changes not forcing ui elements to update

This commit is contained in:
Ellpeck 2020-05-20 21:22:02 +02:00
parent 979dce510e
commit b836b486a2

View file

@ -46,7 +46,7 @@ namespace MLEM.Ui {
this.style = value; this.style = value;
foreach (var root in this.rootElements) { foreach (var root in this.rootElements) {
root.Element.AndChildren(e => e.System = this); root.Element.AndChildren(e => e.System = this);
root.Element.SetAreaDirty(); root.Element.ForceUpdateArea();
} }
} }
} }