ui/map: hide icon if no maneuver type (#29084)

hide icon if no maneuver type
old-commit-hash: 202b2f2113
beeps
Dean Lee 2 years ago committed by GitHub
parent f667936f3a
commit a50a9ef9b4
  1. 2
      selfdrive/ui/qt/maps/map_instructions.cc

@ -100,6 +100,8 @@ void MapInstructions::updateInstructions(cereal::NavInstruction::Reader instruct
icon_01->setPixmap(pixmap_cache[!rhd ? fn : "rhd_" + fn]);
icon_01->setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed));
icon_01->setVisible(true);
} else {
icon_01->setVisible(false);
}
// Hide distance after arrival

Loading…
Cancel
Save