Skip to content

Commit 26f3e9d

Browse files
Reverted logic in MMMapButton
Updated the filter svg to be 24 x 24
1 parent eda0cd8 commit 26f3e9d

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

app/icons/Filter.svg

Lines changed: 2 additions & 9 deletions
Loading

app/qml/map/MMMapController.qml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -860,10 +860,9 @@ Item {
860860
MMMapButton {
861861
id: filterIndicatorButton
862862

863-
visible: root.state === "view" && root.filterController
863+
visible: root.state === "view" && root.filterController && root.filterController.hasActiveFilters
864864
iconSource: __style.filterIcon
865-
iconSize: __style.icon24
866-
bgndColor: root.filterController && root.filterController.hasActiveFilters ? __style.positiveColor : __style.polarColor
865+
bgndColor: __style.positiveColor
867866

868867
onClicked: {
869868
root.openFiltersPanel()

app/qml/map/components/MMMapButton.qml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Item {
1919

2020
property alias iconSource: icon.source
2121
property color bgndColor: __style.polarColor
22-
property real iconSize: __style.icon24
2322

2423
signal clicked
2524
signal clickAndHold
@@ -38,7 +37,6 @@ Item {
3837

3938
anchors.centerIn: parent
4039
color: __style.forestColor
41-
size: control.iconSize
4240
}
4341

4442
MouseArea {

0 commit comments

Comments
 (0)