diff --git a/selfdrive/ui/qt/onroad/annotated_camera.cc b/selfdrive/ui/qt/onroad/annotated_camera.cc index d85297cc1..1feb57748 100644 --- a/selfdrive/ui/qt/onroad/annotated_camera.cc +++ b/selfdrive/ui/qt/onroad/annotated_camera.cc @@ -457,12 +457,13 @@ void AnnotatedCameraWidget::paintGL() { if (s->scene.world_objects_visible) { update_model(s, model); - drawLaneLines(painter, s); #ifdef DP flight_panel->paint(painter, width(), height()); #endif + drawLaneLines(painter, s); + if (s->scene.longitudinal_control && sm.rcv_frame("radarState") > s->scene.started_frame) { auto radar_state = sm["radarState"].getRadarState(); update_leads(s, radar_state, model.getPosition());