Skip to content

Commit

Permalink
Provide visual feedback on the map canvas when tracking sessionss are…
Browse files Browse the repository at this point in the history
… active
  • Loading branch information
mohsenD98 authored Oct 15, 2024
1 parent 6fd7021 commit cee25b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions images/images.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,6 @@
<file>themes/qfield/nodpi/ic_arrow_drop_up_48dp.svg</file>
<file>themes/qfield/nodpi/ic_shutdown_24dp.svg</file>
<file>themes/qfield/nodpi/ic_egeniouss_receiver_black_24dp.svg</file>
<file>themes/qfield/nodpi/ic_location_tracking_white_24dp.svg</file>
</qresource>
</RCC>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/qml/qgismobileapp.qml
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,7 @@ ApplicationWindow {
name: "On"
PropertyChanges {
target: gnssButton
iconSource: positionSource.positionInformation && positionSource.positionInformation.latitudeValid ? Theme.getThemeVectorIcon("ic_location_valid_white_24dp") : Theme.getThemeVectorIcon("ic_location_white_24dp")
iconSource: trackings.count > 0 ? Theme.getThemeVectorIcon("ic_location_tracking_white_24dp") : positionSource.positionInformation && positionSource.positionInformation.latitudeValid ? Theme.getThemeVectorIcon("ic_location_valid_white_24dp") : Theme.getThemeVectorIcon("ic_location_white_24dp")
iconColor: followActive ? "white" : Theme.positionColor
bgcolor: followActive ? Theme.positionColor : Theme.darkGray
}
Expand Down

1 comment on commit cee25b4

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please sign in to comment.