Skip to content

Conversation

@in0finite
Copy link

@in0finite in0finite commented Jul 30, 2023

Array/List elements now have a text "preview", instead of just the element index.

After :

image

Before :

image

Sorry for bad code formatting.

@msamora-supernatural
Copy link

Adding a refresh keeps the element previews up to date.
public override void Refresh() { base.Refresh(); foreach (var element in elements) { if (element.Value != null) { element.NameRaw = element.NameRaw.Split(':')[0] + ": " + GetArrayElementPreviewText(element.Value); } } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants