Tracker: invert inactive select color so it is how it was

Change-Id: I5d79fc733496746bceb7003cb7d8a70555d87732
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8972
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
John Scipione
2025-02-13 02:02:59 +00:00
committed by waddlesplash
parent bf13ecf7cf
commit 759dfd5ae3
+1
View File
@@ -658,6 +658,7 @@ BPose::DrawTextWidget(BRect rect, BRect textRect, float width, BTextWidget* widg
drawView->InvertRect(textRect.OffsetByCopy(offset));
} else if (!windowActive && showSelectionWhenInactive) {
// the selection rect is alpha-blended on top for inactive windows
drawView->InvertRect(textRect.OffsetByCopy(offset));
drawView->SetDrawingMode(B_OP_BLEND);
drawView->SetHighColor(128, 128, 128, 255);
drawView->FillRect(textRect.OffsetByCopy(offset));