Skip to content

Commit

Permalink
fix: enabled themes on table columns and cells hoffstadt#1782
Browse files Browse the repository at this point in the history
  • Loading branch information
v-ein authored and SamuMazzi committed Jan 31, 2024
1 parent fca2c25 commit 7b5ee8d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mvTables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,13 @@ void mvTable::draw(ImDrawList* drawlist, float x, float y)
auto& columnItem = childslots[0][column_index];

if(columnItem->config.enabled)
{
apply_local_theming(columnItem.get());
apply_local_theming(cell.get());
cell->draw(drawlist, ImGui::GetCursorPosX(), ImGui::GetCursorPosY());
cleanup_local_theming(cell.get());
cleanup_local_theming(columnItem.get());
}
}
};

Expand Down

0 comments on commit 7b5ee8d

Please sign in to comment.