Use color param in ui_draw_rounded_rect instead of hard coding

old-commit-hash: 57e39c4472
commatwo_master
Vehicle Researcher 8 years ago
parent 615ed63f62
commit 8849ae9fdd
  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