|
@@ -1208,7 +1208,7 @@ void ImGui::TableUpdateBorders(ImGuiTable* table)
|
|
|
//GetForegroundDrawList()->AddRect(hit_rect.Min, hit_rect.Max, IM_COL32(255, 0, 0, 100));
|
|
|
|
|
|
bool hovered = false, held = false;
|
|
|
- bool pressed = ButtonBehavior(hit_rect, column_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_AllowItemOverlap | ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_NoNavFocus);
|
|
|
+ bool pressed = ButtonBehavior(hit_rect, column_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_NoNavFocus);
|
|
|
if (pressed && IsMouseDoubleClicked(0))
|
|
|
{
|
|
|
TableSetColumnWidthAutoSingle(table, column_n);
|