From 9f33903798505f5f002e64dad45b237975c1e6ce Mon Sep 17 00:00:00 2001 From: dragonpilot Date: Tue, 24 Sep 2019 15:09:20 +1000 Subject: [PATCH] Make steering wheel transparent --- selfdrive/ui/ui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/selfdrive/ui/ui.c b/selfdrive/ui/ui.c index 9514d28f4..5fc5ebd48 100644 --- a/selfdrive/ui/ui.c +++ b/selfdrive/ui/ui.c @@ -1360,11 +1360,11 @@ static void ui_draw_vision_event(UIState *s) { nvgBeginPath(s->vg); nvgCircle(s->vg, bg_wheel_x, (bg_wheel_y + (bdr_s*1.5)), bg_wheel_size); if (is_engaged) { - nvgFillColor(s->vg, nvgRGBA(23, 134, 68, 255)); + nvgFillColor(s->vg, nvgRGBA(23, 134, 68, 180)); } else if (is_warning) { - nvgFillColor(s->vg, nvgRGBA(218, 111, 37, 255)); + nvgFillColor(s->vg, nvgRGBA(218, 111, 37, 180)); } else if (is_engageable) { - nvgFillColor(s->vg, nvgRGBA(23, 51, 73, 255)); + nvgFillColor(s->vg, nvgRGBA(23, 51, 73, 180)); } nvgFill(s->vg); img_wheel_alpha = 1.0f;