Slight tweak to inactive instruction pointer highlight color.
This commit is contained in:
@@ -1116,11 +1116,10 @@ SourceView::TextView::Draw(BRect updateRect)
|
|||||||
ipMarker = dynamic_cast<SourceView::MarkerManager
|
ipMarker = dynamic_cast<SourceView::MarkerManager
|
||||||
::InstructionPointerMarker*>(marker);
|
::InstructionPointerMarker*>(marker);
|
||||||
if (ipMarker != NULL) {
|
if (ipMarker != NULL) {
|
||||||
rgb_color ipColor = {96, 216, 216, 255 };
|
if (ipMarker->IsCurrentIP())
|
||||||
if (!ipMarker->IsCurrentIP())
|
SetLowColor(96, 216, 216, 255);
|
||||||
ipColor = tint_color(ipColor, B_LIGHTEN_2_TINT);
|
else
|
||||||
|
SetLowColor(216, 216, 216, 255);
|
||||||
SetLowColor(ipColor);
|
|
||||||
|
|
||||||
} else
|
} else
|
||||||
SetLowColor(255, 255, 0, 255);
|
SetLowColor(255, 255, 0, 255);
|
||||||
|
|||||||
Reference in New Issue
Block a user