mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
ShowTestWindow() minor tweak
This commit is contained in:
parent
4ab2db73e5
commit
1f272785f1
@ -8805,8 +8805,8 @@ void ImGui::ShowTestWindow(bool* opened)
|
||||
|
||||
ImGui::PushItemWidth(80);
|
||||
ImGui::Text("Lists:");
|
||||
static int selection[5] = { -1, 0, 1, 2, 3 };
|
||||
for (int i = 0; i < 5; i++)
|
||||
static int selection[4] = { 0, 1, 2, 3 };
|
||||
for (int i = 0; i < 4; i++)
|
||||
{
|
||||
if (i > 0) ImGui::SameLine();
|
||||
ImGui::PushID(i);
|
||||
|
Loading…
Reference in New Issue
Block a user