summaryrefslogtreecommitdiffstats
path: root/app/BtnShrink.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/BtnShrink.qml')
-rw-r--r--app/BtnShrink.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/BtnShrink.qml b/app/BtnShrink.qml
index da9700e..23859dc 100644
--- a/app/BtnShrink.qml
+++ b/app/BtnShrink.qml
@@ -8,8 +8,11 @@ Item {
height: 100
function zoomDown() {
- map.zoomLevel -= 1
+ map.zoomLevel -= 1
+ if(map.zoomLevel != default_zoom_level) {
+ btn_present_position.state = "Optional"
}
+ }
onClicked: { zoomDown() }