mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-20 10:28:35 +00:00
Metrics/Debugger: Browsing a Storage perform hover lookup on identifier.
This commit is contained in:
@@ -15466,7 +15466,10 @@ void ImGui::DebugNodeStorage(ImGuiStorage* storage, const char* label)
|
||||
if (!TreeNode(label, "%s: %d entries, %d bytes", label, storage->Data.Size, storage->Data.size_in_bytes()))
|
||||
return;
|
||||
for (const ImGuiStoragePair& p : storage->Data)
|
||||
{
|
||||
BulletText("Key 0x%08X Value { i: %d }", p.key, p.val_i); // Important: we currently don't store a type, real value may not be integer.
|
||||
DebugLocateItemOnHover(p.key);
|
||||
}
|
||||
TreePop();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user