InputText: Fixed an undo-state corruption issue when editing buffer before reactivating item. (#4947) + Metrics: Added "InputText" section.

This commit is contained in:
ocornut
2022-06-07 15:24:52 +02:00
parent 74f02703e6
commit 64d6c30562
5 changed files with 53 additions and 5 deletions

View File

@ -12480,6 +12480,13 @@ void ImGui::ShowMetricsWindow(bool* p_open)
TreePop();
}
// Details for InputText
if (TreeNode("InputText"))
{
DebugNodeInputTextState(&g.InputTextState);
TreePop();
}
// Details for Docking
#ifdef IMGUI_HAS_DOCK
if (TreeNode("Docking"))