Stop ItemStatus from spamming measure

ItemStatus set Label.Text in Update which caused measure and arrange to be invalidated
every update.
This commit is contained in:
ShadowCommander
2021-06-05 01:33:30 -07:00
parent f31f82a4fc
commit 3af9c334ea

View File

@@ -126,10 +126,10 @@ namespace Content.Client.UserInterface
{
_entity = entity;
BuildNewEntityStatus();
_itemNameLabel.Text = entity.Name;
}
_panel.Visible = true;
_itemNameLabel.Text = entity.Name;
}
private void ClearOldStatus()