Darker border on selected memory snapsho items

This commit is contained in:
Nav
2023-05-01 13:14:30 +01:00
parent 00f3d2265e
commit 9364e8f59f

View File

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