Consistent border color in memory snapshot items

This commit is contained in:
Nav
2023-05-01 23:44:09 +01:00
parent 450146e8c4
commit 84a1cb9841

View File

@@ -89,10 +89,9 @@ namespace Bloom::Widgets
painter->drawText(createdDateTextRect, Qt::AlignLeft, this->createdDateText);
static constexpr auto borderColor = QColor(0x41, 0x42, 0x3F);
static constexpr auto selectedBorderColor = QColor(0x2E, 0x2E, 0x2E);
static constexpr auto borderColor = QColor(0x2E, 0x2E, 0x2E);
painter->setPen(this->selected ? selectedBorderColor : borderColor);
painter->setPen(borderColor);
painter->drawLine(0, this->size.height() - 1, this->size.width(), this->size.height() - 1);
}
}