From 57e39c4472dc1c1f2ed19eea906082598b87bffe Mon Sep 17 00:00:00 2001 From: Vehicle Researcher Date: Mon, 12 Jun 2017 08:27:57 -0700 Subject: [PATCH] Use color param in ui_draw_rounded_rect instead of hard coding --- selfdrive/ui/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/ui.c b/selfdrive/ui/ui.c index 1fdbb71457..086d9e2fea 100644 --- a/selfdrive/ui/ui.c +++ b/selfdrive/ui/ui.c @@ -629,7 +629,7 @@ static void ui_draw_rounded_rect( nvgRoundedRect(c, x, y, bottom_x, bottom_y, radius); // Color the rect - nvgFillColor(c, nvgRGBA(10, 10, 10, 150)); + nvgFillColor(c, color); // Draw the rect nvgFill(c);