Slight tweak to inactive instruction pointer highlight color.

This commit is contained in:
Rene Gollent 2013-06-23 08:08:57 -04:00
parent 20da79d7da
commit 6eb68a0430

View File

@ -1116,11 +1116,10 @@ SourceView::TextView::Draw(BRect updateRect)
ipMarker = dynamic_cast<SourceView::MarkerManager
::InstructionPointerMarker*>(marker);
if (ipMarker != NULL) {
rgb_color ipColor = {96, 216, 216, 255 };
if (!ipMarker->IsCurrentIP())
ipColor = tint_color(ipColor, B_LIGHTEN_2_TINT);
SetLowColor(ipColor);
if (ipMarker->IsCurrentIP())
SetLowColor(96, 216, 216, 255);
else
SetLowColor(216, 216, 216, 255);
} else
SetLowColor(255, 255, 0, 255);