diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index 140c279ff..d291dd4d7 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -51,7 +51,7 @@ Item { z: mapHelper.model.selectedUuid === model.uuid ? mapHelper.model.count - 1 : 0 sourceItem: Image { id: mapItemImage - source: "qrc:///mapwidget-marker" + (mapHelper.model.selectedUuid === model.uuid ? "-selected" : "") + source: "qrc:///mapwidget-marker" + (mapHelper.model.selectedUuid === model.uuid ? "-selected" : (mapHelper.editMode ? "-gray" : "")) SequentialAnimation { id: mapItemImageAnimation PropertyAnimation { target: mapItemImage; property: "scale"; from: 1.0; to: 0.7; duration: 120 } diff --git a/mobile-widgets/qml/icons/mapwidget-marker-gray.png b/mobile-widgets/qml/icons/mapwidget-marker-gray.png new file mode 100644 index 000000000..856db9f5b Binary files /dev/null and b/mobile-widgets/qml/icons/mapwidget-marker-gray.png differ diff --git a/subsurface.qrc b/subsurface.qrc index fc4e2ce6c..0e910675a 100644 --- a/subsurface.qrc +++ b/subsurface.qrc @@ -4,6 +4,7 @@ mobile-widgets/qml/MapWidgetError.qml mobile-widgets/qml/MapWidgetContextMenu.qml mobile-widgets/qml/icons/mapwidget-marker.png + mobile-widgets/qml/icons/mapwidget-marker-gray.png mobile-widgets/qml/icons/mapwidget-marker-selected.png mobile-widgets/qml/icons/mapwidget-toggle-satellite.png mobile-widgets/qml/icons/mapwidget-toggle-street.png