mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Nav: Honoring ImGuiItemFlags_NoNav which is used by color picker (#787)
This commit is contained in:
		@@ -2275,7 +2275,7 @@ static void ImGui::NavProcessItem(ImGuiWindow* window, const ImRect& nav_bb, con
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Scoring for navigation
 | 
					    // Scoring for navigation
 | 
				
			||||||
    if (g.NavId != id)
 | 
					    if (g.NavId != id && !(item_flags & ImGuiItemFlags_NoNav))
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
#if IMGUI_DEBUG_NAV
 | 
					#if IMGUI_DEBUG_NAV
 | 
				
			||||||
        // [DEBUG] Score all items in NavWindow at all times
 | 
					        // [DEBUG] Score all items in NavWindow at all times
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user