work around #502
@cam900 please revert this one before attempting to diagnose the issue.
This commit is contained in:
parent
9b7145d2b0
commit
539f96542f
|
@ -1998,6 +1998,11 @@ void ImGui::TableBeginCell(ImGuiTable* table, int column_n)
|
|||
{
|
||||
// FIXME-TABLE: Could avoid this if draw channel is dummy channel?
|
||||
SetWindowClipRectBeforeSetChannel(window, column->ClipRect);
|
||||
if (column->DrawChannelCurrent==(ImGuiTableDrawChannelIdx)-1) {
|
||||
// temporary workaround for #502
|
||||
//printf("sorry!\n");
|
||||
column->DrawChannelCurrent=column_n;
|
||||
}
|
||||
table->DrawSplitter->SetCurrentChannel(window->DrawList, column->DrawChannelCurrent);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue