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