Skip to content

Commit

Permalink
gpsIcon green when recording and autolock true
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed Jun 14, 2024
1 parent ec303a7 commit 1856f49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/qml/map/MMMapController.qml
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,8 @@ Item {

root.state = "view"
}

onAutoLockGps: root.centeredToGPS = true
}
}

Expand Down
3 changes: 2 additions & 1 deletion app/qml/map/MMRecordingTools.qml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Item {

signal canceled()
signal done( var featureLayerPair )
signal autoLockGps()

function toggleStreaming() {
if ( mapTool.recordingType === MM.RecordingMapTool.Manual )
Expand Down Expand Up @@ -322,7 +323,7 @@ Item {
return;
}

mapTool.centeredToGPS = true
root.autoLockGps()
root.map.mapSettings.setCenter( mapPositionSource.mapPosition )
}
}
Expand Down

1 comment on commit 1856f49

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 24.6.634211 just submitted!

Please sign in to comment.