mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
impr: Better pattern background coloring in pattern data view
This commit is contained in:
@@ -233,7 +233,7 @@ namespace hex::plugin::builtin::ui {
|
||||
|
||||
void PatternDrawer::drawFavoriteColumn(const pl::ptrn::Pattern& pattern) {
|
||||
if (this->m_rowColoring)
|
||||
ImGui::TableSetBgColor(ImGuiTableBgTarget_RowBg0, pattern.getColor() & 0x4FFFFFFF);
|
||||
ImGui::TableSetBgColor(ImGuiTableBgTarget_RowBg0, (pattern.getColor() & 0x00'FF'FF'FF) | 0x30'00'00'00);
|
||||
|
||||
if (!this->m_showFavoriteStars) {
|
||||
ImGui::TableNextColumn();
|
||||
|
||||
Reference in New Issue
Block a user