mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	Default window focus scope not 0. Added ImGuiSelectableFlags_SelectOnNav with comments and caveats. (#1861, #4242,)
Focus scope default value: amend7ee623d9a5041c882ebe08be
This commit is contained in:
		| @@ -6702,6 +6702,7 @@ static void ShowExampleAppLayout(bool* p_open) | ||||
|             ImGui::BeginChild("left pane", ImVec2(150, 0), true); | ||||
|             for (int i = 0; i < 100; i++) | ||||
|             { | ||||
|                 // FIXME: Good candidate to use ImGuiSelectableFlags_SelectOnNav | ||||
|                 char label[128]; | ||||
|                 sprintf(label, "MyObject %d", i); | ||||
|                 if (ImGui::Selectable(label, selected == i)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user