1
0
mirror of synced 2025-02-20 20:21:33 +01:00

impr: Improve contrast of text in pattern data table when hovering

This commit is contained in:
WerWolv 2024-06-27 19:45:49 +02:00
parent 699a91c46b
commit 301e8c5a96

View File

@ -1247,6 +1247,8 @@ namespace hex::ui {
}
if (beginPatternTable(patterns, m_sortedPatterns, height)) {
ImGui::PushStyleColor(ImGuiCol_HeaderHovered, ImGui::GetColorU32(ImGuiCol_HeaderHovered, 0.4F));
ImGui::PushStyleColor(ImGuiCol_HeaderActive, ImGui::GetColorU32(ImGuiCol_HeaderActive, 0.4F));
ImGui::TableHeadersRow();
m_showFavoriteStars = false;
@ -1317,6 +1319,8 @@ namespace hex::ui {
}
}
ImGui::PopStyleColor(2);
ImGui::EndTable();
}