mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-17 13:27:44 +01:00
Extract collection counters.
This commit is contained in:
parent
7a2691b942
commit
fbbfe5e00d
10 changed files with 48 additions and 32 deletions
|
|
@ -204,7 +204,7 @@ public class DebugTab : Window, ITab, IUiService
|
|||
if (collection.HasCache)
|
||||
{
|
||||
using var color = PushColor(ImGuiCol.Text, ColorId.FolderExpanded.Value());
|
||||
using var node = TreeNode($"{collection.Name} (Change Counter {collection.ChangeCounter})###{collection.Name}");
|
||||
using var node = TreeNode($"{collection.Name} (Change Counter {collection.Counters.Change})###{collection.Name}");
|
||||
if (!node)
|
||||
continue;
|
||||
|
||||
|
|
@ -239,7 +239,7 @@ public class DebugTab : Window, ITab, IUiService
|
|||
else
|
||||
{
|
||||
using var color = PushColor(ImGuiCol.Text, ColorId.UndefinedMod.Value());
|
||||
TreeNode($"{collection.AnonymizedName} (Change Counter {collection.ChangeCounter})",
|
||||
TreeNode($"{collection.AnonymizedName} (Change Counter {collection.Counters.Change})",
|
||||
ImGuiTreeNodeFlags.Bullet | ImGuiTreeNodeFlags.Leaf).Dispose();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue