mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 21:21:06 +01:00 
			
		
		
		
	Separator() within column correctly vertical offset all columns content (pointed out in #125)
This commit is contained in:
		| @@ -6210,7 +6210,10 @@ void ImGui::Separator() | |||||||
|     window->DrawList->AddLine(bb.Min, bb.Max, window->Color(ImGuiCol_Border)); |     window->DrawList->AddLine(bb.Min, bb.Max, window->Color(ImGuiCol_Border)); | ||||||
|  |  | ||||||
|     if (window->DC.ColumnsCount > 1) |     if (window->DC.ColumnsCount > 1) | ||||||
|  |     { | ||||||
|         PushColumnClipRect(); |         PushColumnClipRect(); | ||||||
|  |         window->DC.ColumnsCellMinY = window->DC.CursorPos.y; | ||||||
|  |     } | ||||||
| } | } | ||||||
|  |  | ||||||
| // A little vertical spacing. | // A little vertical spacing. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user