Use color param in ui_draw_rounded_rect instead of hard coding

pull/103/head
Vehicle Researcher 8 years ago
parent ff7672339c
commit 57e39c4472
  1. 2
      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);

Loading…
Cancel
Save