Metrics: hotfix (fix 6ba13349 + f08566b4, #4005)

This commit is contained in:
ocornut 2021-04-07 17:57:14 +02:00
parent bcdc8bcc4b
commit d6a5cc7934

View File

@ -11116,7 +11116,7 @@ void ImGui::ShowMetricsWindow(bool* p_open)
// Misc Details // Misc Details
if (TreeNode("Internal state")) if (TreeNode("Internal state"))
{ {
const char* input_source_names[] = { "None", "Mouse", "Nav", "NavKeyboard", "NavGamepad" }; IM_ASSERT(IM_ARRAYSIZE(input_source_names) == ImGuiInputSource_COUNT); const char* input_source_names[] = { "None", "Mouse", "Keyboard", "Gamepad", "Nav", "Clipboard" }; IM_ASSERT(IM_ARRAYSIZE(input_source_names) == ImGuiInputSource_COUNT);
Text("WINDOWING"); Text("WINDOWING");
Indent(); Indent();