diff options
Diffstat (limited to 'app/BtnEnlarge.qml')
-rw-r--r-- | app/BtnEnlarge.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/BtnEnlarge.qml b/app/BtnEnlarge.qml index 032dc14..cc158ad 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() } |