mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Nav: ImGuiWindowFlags_NoNavInputs is tested during scoring so NavFlattened windows can use it.
This commit is contained in:
		@@ -11509,7 +11509,7 @@ static void ImGui::NavProcessItem()
 | 
			
		||||
 | 
			
		||||
    // Process Move Request (scoring for navigation)
 | 
			
		||||
    // FIXME-NAV: Consider policy for double scoring (scoring from NavScoringRect + scoring from a rect wrapped according to current wrapping policy)
 | 
			
		||||
    if (g.NavMoveScoringItems && (item_flags & ImGuiItemFlags_Disabled) == 0)
 | 
			
		||||
    if (g.NavMoveScoringItems && (item_flags & ImGuiItemFlags_Disabled) == 0 && (window->Flags & ImGuiWindowFlags_NoNavInputs) == 0)
 | 
			
		||||
    {
 | 
			
		||||
        const bool is_tabbing = (g.NavMoveFlags & ImGuiNavMoveFlags_IsTabbing) != 0;
 | 
			
		||||
        if (is_tabbing)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user