huge refactor
This commit is contained in:
parent
e5ebe05571
commit
a8341e8232
29 changed files with 3184 additions and 340 deletions
|
|
@ -222,7 +222,9 @@ public partial class RobotoViewModel : ObservableObject, IDisposable
|
|||
Entities.Clear();
|
||||
foreach (var e in state.Entities)
|
||||
{
|
||||
var shortLabel = GetShortLabel(e.Path);
|
||||
var shortLabel = e.Category == EntityCategory.AreaTransition && e.TransitionName is not null
|
||||
? $"AreaTransition — {e.TransitionName}"
|
||||
: GetShortLabel(e.Path);
|
||||
var item = new EntityListItem(e.Id, shortLabel, e.Category.ToString(), e.DistanceToPlayer, e.Position.X, e.Position.Y);
|
||||
if (checkedIds.Contains(e.Id))
|
||||
item.IsChecked = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue