mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Merge branch 'master' into docking
This commit is contained in:
		@@ -1442,7 +1442,7 @@ bool ImGui::BeginCombo(const char* label, const char* preview_value, ImGuiComboF
 | 
			
		||||
    const float value_x2 = ImMax(frame_bb.Min.x, frame_bb.Max.x - arrow_size);
 | 
			
		||||
    RenderNavHighlight(frame_bb, id);
 | 
			
		||||
    if (!(flags & ImGuiComboFlags_NoPreview))
 | 
			
		||||
        window->DrawList->AddRectFilled(frame_bb.Min, ImVec2(value_x2, frame_bb.Max.y), frame_col, style.FrameRounding, ImDrawCornerFlags_Left);
 | 
			
		||||
        window->DrawList->AddRectFilled(frame_bb.Min, ImVec2(value_x2, frame_bb.Max.y), frame_col, style.FrameRounding, (flags & ImGuiComboFlags_NoArrowButton) ? ImDrawCornerFlags_All : ImDrawCornerFlags_Left);
 | 
			
		||||
    if (!(flags & ImGuiComboFlags_NoArrowButton))
 | 
			
		||||
    {
 | 
			
		||||
        window->DrawList->AddRectFilled(ImVec2(value_x2, frame_bb.Min.y), frame_bb.Max, GetColorU32((popup_open || hovered) ? ImGuiCol_ButtonHovered : ImGuiCol_Button), style.FrameRounding, (w <= arrow_size) ? ImDrawCornerFlags_All : ImDrawCornerFlags_Right);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user