Slight tweak to inactive instruction pointer highlight color.

This commit is contained in:
Rene Gollent
2013-06-23 08:10:10 -04:00
parent 20da79d7da
commit 6eb68a0430
@@ -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);