From 84a1cb98412ea283ec3d8f1825b238c671131851 Mon Sep 17 00:00:00 2001 From: Nav Date: Mon, 1 May 2023 23:44:09 +0100 Subject: [PATCH] Consistent border color in memory snapshot items --- .../SnapshotManager/MemorySnapshotItem.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/MemorySnapshotItem.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/MemorySnapshotItem.cpp index 9085b45b..b4783d12 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/MemorySnapshotItem.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/MemorySnapshotItem.cpp @@ -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); } }