@ -10100,7 +10100,9 @@ void ImGui::EndColumns()
if ( IsClippedEx ( column_rect , & column_id , false ) )
continue ;
bool hovered , held ;
bool hovered = false , held = false ;
if ( ! ( window - > DC . ColumnsFlags & ImGuiColumnsFlags_NoResize ) )
{
ButtonBehavior ( column_rect , column_id , & hovered , & held ) ;
if ( hovered | | held )
g . MouseCursor = ImGuiMouseCursor_ResizeEW ;
@ -10108,6 +10110,7 @@ void ImGui::EndColumns()
g . ActiveIdClickOffset . x - = column_w ; // Store from center of column line (we used a 8 wide rect for columns clicking). This is used by GetDraggedColumnOffset().
if ( held )
dragging_column = i ;
}
// Draw column
const ImU32 col = GetColorU32 ( held ? ImGuiCol_SeparatorActive : hovered ? ImGuiCol_SeparatorHovered : ImGuiCol_Separator ) ;