From b836b486a2ff46e9594db899e4c6768a04aed656 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 20 May 2020 21:22:02 +0200 Subject: [PATCH] fixed style changes not forcing ui elements to update --- MLEM.Ui/UiSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MLEM.Ui/UiSystem.cs b/MLEM.Ui/UiSystem.cs index ffe5224..3fe17c4 100644 --- a/MLEM.Ui/UiSystem.cs +++ b/MLEM.Ui/UiSystem.cs @@ -46,7 +46,7 @@ namespace MLEM.Ui { this.style = value; foreach (var root in this.rootElements) { root.Element.AndChildren(e => e.System = this); - root.Element.SetAreaDirty(); + root.Element.ForceUpdateArea(); } } }