mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 15:11:05 +01:00 
			
		
		
		
	Clarify comment (#455)
This commit is contained in:
		@@ -1972,7 +1972,7 @@ struct ExampleAppConsole
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        // Demonstrate keeping auto focus on the input box
 | 
					        // Demonstrate keeping auto focus on the input box
 | 
				
			||||||
        if (ImGui::IsItemHovered() || (ImGui::IsRootWindowOrAnyChildFocused() && !ImGui::IsAnyItemActive() && !ImGui::IsMouseClicked(0)))
 | 
					        if (ImGui::IsItemHovered() || (ImGui::IsRootWindowOrAnyChildFocused() && !ImGui::IsAnyItemActive() && !ImGui::IsMouseClicked(0)))
 | 
				
			||||||
            ImGui::SetKeyboardFocusHere(-1); // Auto focus
 | 
					            ImGui::SetKeyboardFocusHere(-1); // Auto focus previous widget
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        ImGui::End();
 | 
					        ImGui::End();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user