Browse Source

Merge pull request #4893 from DonLakeFlyer/FollowVehicleReCenter

Fix follow vehicle recenter logic
QGC4.4
Don Gagne 8 years ago committed by GitHub
parent
commit
80546567fd
  1. 2
      src/FlightDisplay/FlightDisplayViewMap.qml

2
src/FlightDisplay/FlightDisplayViewMap.qml

@ -96,7 +96,7 @@ FlightMap { @@ -96,7 +96,7 @@ FlightMap {
if (_keepVehicleCentered) {
flightMap.center = _activeVehicleCoordinate
} else {
if (firstVehiclePositionReceived) {
if (firstVehiclePositionReceived && recenterNeeded()) {
animatedMapRecenter(flightMap.center, _activeVehicleCoordinate)
}
}

Loading…
Cancel
Save