mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-03 22:51:06 +01:00 
			
		
		
		
	This commit is contained in:
		@@ -7505,7 +7505,7 @@ void ImGui::SetItemDefaultFocus()
 | 
			
		||||
    NavUpdateAnyRequestFlag();
 | 
			
		||||
 | 
			
		||||
    // Scroll could be done in NavInitRequestApplyResult() via an opt-in flag (we however don't want regular init requests to scroll)
 | 
			
		||||
    if (!IsItemVisible())
 | 
			
		||||
    if (!window->ClipRect.Contains(g.LastItemData.Rect))
 | 
			
		||||
        ScrollToRectEx(window, g.LastItemData.Rect, ImGuiScrollFlags_None);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user