mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-27 20:03:53 +08:00
match style
This commit is contained in:
@@ -237,7 +237,7 @@ void MapWindow::updateState(const UIState &s) {
|
||||
m_map->setLayoutProperty("navLayer", "visibility", "visible");
|
||||
|
||||
route_rcv_frame = sm.rcv_frame("navRoute");
|
||||
update_destination_marker();
|
||||
updateDestinationMarker();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -275,7 +275,7 @@ void MapWindow::clearRoute() {
|
||||
if (!m_map.isNull()) {
|
||||
m_map->setLayoutProperty("navLayer", "visibility", "none");
|
||||
m_map->setPitch(MIN_PITCH);
|
||||
update_destination_marker();
|
||||
updateDestinationMarker();
|
||||
}
|
||||
|
||||
map_instructions->hideIfNoError();
|
||||
@@ -363,7 +363,7 @@ void MapWindow::offroadTransition(bool offroad) {
|
||||
last_bearing = {};
|
||||
}
|
||||
|
||||
void MapWindow::update_destination_marker() {
|
||||
void MapWindow::updateDestinationMarker() {
|
||||
if (marker_id != -1) {
|
||||
m_map->removeAnnotation(marker_id);
|
||||
marker_id = -1;
|
||||
|
||||
@@ -112,7 +112,7 @@ private:
|
||||
MapETA* map_eta;
|
||||
|
||||
void clearRoute();
|
||||
void update_destination_marker();
|
||||
void updateDestinationMarker();
|
||||
uint64_t route_rcv_frame = 0;
|
||||
|
||||
private slots:
|
||||
|
||||
Reference in New Issue
Block a user