GUI: implement channel style settings
This commit is contained in:
parent
ebb939c189
commit
3cb1571fb6
4 changed files with 135 additions and 5 deletions
2
extern/imgui_patched/imgui_tables.cpp
vendored
2
extern/imgui_patched/imgui_tables.cpp
vendored
|
|
@ -2532,7 +2532,7 @@ void ImGui::TableDrawBorders(ImGuiTable* table)
|
|||
// Draw inner border and resizing feedback
|
||||
ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent);
|
||||
const float border_size = TABLE_BORDER_SIZE;
|
||||
const float draw_y1 = table->InnerRect.Min.y;
|
||||
const float draw_y1 = table->InnerRect.Min.y + ((table->Flags & ImGuiTableFlags_NoBordersInFrozenArea)?table_instance->LastFirstRowHeight:0.0f);
|
||||
const float draw_y2_body = table->InnerRect.Max.y;
|
||||
const float draw_y2_head = table->IsUsingHeaders ? ImMin(table->InnerRect.Max.y, (table->FreezeRowsCount >= 1 ? table->InnerRect.Min.y : table->WorkRect.Min.y) + table_instance->LastFirstRowHeight) : draw_y1;
|
||||
if (table->Flags & ImGuiTableFlags_BordersInnerV)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue