You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing a drag and drop after a Selectable inside a table, the draw rect of the drag and drop is not expanded anymore to the selectable but only to the first column width. This was working fine on the previous versions (1.89.90)
// Here's some code anyone can copy and paste to reproduce your issue (add it after the Selectable in the advanced table sample in the demo)
if (ImGui::BeginDragDropSource(ImGuiDragDropFlags_SourceNoPreviewTooltip))
{
ImGui::SetDragDropPayload("TESTDRAW", nullptr, 0);
ImGui::EndDragDropSource();
}
if (ImGui::BeginDragDropTarget())
{
ImGui::AcceptDragDropPayload("TESTDRAW");
ImGui::EndDragDropTarget();
}
The text was updated successfully, but these errors were encountered:
Thank you for the detailed issue. I can confirm this changed with 085ed7b (#4281)
I reckon this is one of the reason it was done the other way before. Will investigate.
Version: 1.90
Branch: docking
Compiler: win32
Operating System: Windows10
When doing a drag and drop after a Selectable inside a table, the draw rect of the drag and drop is not expanded anymore to the selectable but only to the first column width. This was working fine on the previous versions (1.89.90)
// Here's some code anyone can copy and paste to reproduce your issue (add it after the Selectable in the advanced table sample in the demo)
if (ImGui::BeginDragDropSource(ImGuiDragDropFlags_SourceNoPreviewTooltip))
{
ImGui::SetDragDropPayload("TESTDRAW", nullptr, 0);
ImGui::EndDragDropSource();
}
if (ImGui::BeginDragDropTarget())
{
ImGui::AcceptDragDropPayload("TESTDRAW");
ImGui::EndDragDropTarget();
}
The text was updated successfully, but these errors were encountered: