mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 12:32:06 +08:00
ui/map: hide icon if no maneuver type (#29084)
hide icon if no maneuver type old-commit-hash: 202b2f2113d48f517c64f0daf9ad2d61fdb0b7a6
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user