mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-24 15:32:07 +08:00
@@ -116,6 +116,10 @@ void MapWindow::initLayers() {
|
||||
}
|
||||
|
||||
void MapWindow::timerUpdate() {
|
||||
if (!QUIState::ui_state.scene.started) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isVisible()) {
|
||||
update();
|
||||
}
|
||||
@@ -263,11 +267,6 @@ void MapWindow::recomputeRoute() {
|
||||
return;
|
||||
}
|
||||
|
||||
// Retry all timed out requests
|
||||
if (!m_map.isNull()) {
|
||||
m_map->connectionEstablished();
|
||||
}
|
||||
|
||||
if (!last_position) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user