mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 21:21:06 +01:00 
			
		
		
		
	BeginChild/Tables: Fixed BeginChild temporary activation id collision. Fixes regression in 1.89.6 leading to the first column of tables with either ScrollX or ScrollY flags from being impossible to resize. (#6503)
This commit is contained in:
		| @@ -5322,7 +5322,7 @@ bool ImGui::BeginChildEx(const char* name, ImGuiID id, const ImVec2& size_arg, b | ||||
|  | ||||
|     // Process navigation-in immediately so NavInit can run on first frame | ||||
|     // Can enter a child if (A) it has navigatable items or (B) it can be scrolled. | ||||
|     const ImGuiID temp_id_for_activation = (id + 1); | ||||
|     const ImGuiID temp_id_for_activation = ImHashStr("##Child", 0, id); | ||||
|     if (g.ActiveId == temp_id_for_activation) | ||||
|         ClearActiveID(); | ||||
|     if (g.NavActivateId == id && !(flags & ImGuiWindowFlags_NavFlattened) && (child_window->DC.NavLayersActiveMask != 0 || child_window->DC.NavWindowHasScrollY)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user