moved up so it's more clear for other elements (lines, lead etc)

This commit is contained in:
Rick Lan
2024-06-13 16:19:41 +08:00
parent a499ac0f0d
commit 2f20118611
+2 -1
View File
@@ -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());