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:
committed by
waddlesplash
parent
bf13ecf7cf
commit
759dfd5ae3
@@ -658,6 +658,7 @@ BPose::DrawTextWidget(BRect rect, BRect textRect, float width, BTextWidget* widg
|
|||||||
drawView->InvertRect(textRect.OffsetByCopy(offset));
|
drawView->InvertRect(textRect.OffsetByCopy(offset));
|
||||||
} else if (!windowActive && showSelectionWhenInactive) {
|
} else if (!windowActive && showSelectionWhenInactive) {
|
||||||
// the selection rect is alpha-blended on top for inactive windows
|
// the selection rect is alpha-blended on top for inactive windows
|
||||||
|
drawView->InvertRect(textRect.OffsetByCopy(offset));
|
||||||
drawView->SetDrawingMode(B_OP_BLEND);
|
drawView->SetDrawingMode(B_OP_BLEND);
|
||||||
drawView->SetHighColor(128, 128, 128, 255);
|
drawView->SetHighColor(128, 128, 128, 255);
|
||||||
drawView->FillRect(textRect.OffsetByCopy(offset));
|
drawView->FillRect(textRect.OffsetByCopy(offset));
|
||||||
|
|||||||
Reference in New Issue
Block a user