mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-30 20:33:43 +01:00
Fix issue with reverted IMC edits and change counter on disabling mods.
This commit is contained in:
parent
3f03712e24
commit
0aa74692a8
4 changed files with 14 additions and 9 deletions
|
|
@ -154,7 +154,7 @@ public class DebugTab : Window, ITab
|
|||
if (collection.HasCache)
|
||||
{
|
||||
using var color = ImRaii.PushColor(ImGuiCol.Text, ColorId.FolderExpanded.Value());
|
||||
using var node = TreeNode(collection.AnonymizedName);
|
||||
using var node = TreeNode($"{collection.AnonymizedName} (Change Counter {collection.ChangeCounter})");
|
||||
if (!node)
|
||||
continue;
|
||||
|
||||
|
|
@ -177,7 +177,7 @@ public class DebugTab : Window, ITab
|
|||
else
|
||||
{
|
||||
using var color = ImRaii.PushColor(ImGuiCol.Text, ColorId.UndefinedMod.Value());
|
||||
TreeNode(collection.AnonymizedName, ImGuiTreeNodeFlags.Bullet | ImGuiTreeNodeFlags.Leaf).Dispose();
|
||||
TreeNode($"{collection.AnonymizedName} (Change Counter {collection.ChangeCounter})", ImGuiTreeNodeFlags.Bullet | ImGuiTreeNodeFlags.Leaf).Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue