Commit 2ac179ff authored by DonLakeFlyer's avatar DonLakeFlyer

Fix user panning

parent be117f58
......@@ -60,8 +60,12 @@ FlightMap {
// When the user pans the map we stop responding to vehicle coordinate updates until the panRecenterTimer fires
onUserPannedChanged: {
_disableVehicleTracking = true
panRecenterTimer.start()
if (userPanned) {
console.log("user panned")
userPanned = false
_disableVehicleTracking = true
panRecenterTimer.restart()
}
}
function pointInRect(point, rect) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment