Fixed incorrect parameter to ButtonBehavior() in Columns code - had no side-effect (#649)

Broken in 3eabad0321
This commit is contained in:
ocornut 2016-05-11 10:31:30 +02:00
parent 91f11fb1bd
commit ed20fcf9d5

View File

@ -9179,7 +9179,7 @@ void ImGui::Columns(int columns_count, const char* id, bool border)
continue; continue;
bool hovered, held; bool hovered, held;
ButtonBehavior(column_rect, column_id, &hovered, &held, true); ButtonBehavior(column_rect, column_id, &hovered, &held);
if (hovered || held) if (hovered || held)
g.MouseCursor = ImGuiMouseCursor_ResizeEW; g.MouseCursor = ImGuiMouseCursor_ResizeEW;