Context menu UI backend refactor & better UX (#13318)
closes https://github.com/space-wizards/space-station-14/issues/9209
This commit is contained in:
@@ -45,12 +45,12 @@ namespace Content.Client.ContextMenu.UI
|
||||
LayoutContainer.SetGrowVertical(CountLabel, LayoutContainer.GrowDirection.Begin);
|
||||
|
||||
Entity = entity;
|
||||
if (Entity != null)
|
||||
{
|
||||
Count = 1;
|
||||
CountLabel.Visible = false;
|
||||
UpdateEntity();
|
||||
}
|
||||
if (Entity == null)
|
||||
return;
|
||||
|
||||
Count = 1;
|
||||
CountLabel.Visible = false;
|
||||
UpdateEntity();
|
||||
}
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
|
||||
Reference in New Issue
Block a user