mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-06 04:58:47 +02:00
Tables: demo synced tables + fix resizing indented synced tables.
This commit is contained in:
@ -1122,7 +1122,7 @@ void ImGui::EndTable()
|
||||
}
|
||||
|
||||
// Apply resizing/dragging at the end of the frame
|
||||
if (table->ResizedColumn != -1)
|
||||
if (table->ResizedColumn != -1 && table->InstanceCurrent == table->InstanceInteracted)
|
||||
{
|
||||
ImGuiTableColumn* column = &table->Columns[table->ResizedColumn];
|
||||
const float new_x2 = (g.IO.MousePos.x - g.ActiveIdClickOffset.x + TABLE_RESIZE_SEPARATOR_HALF_THICKNESS);
|
||||
|
Reference in New Issue
Block a user