From 8616be4df02a0adb52cb7b2e49088259f7776fd3 Mon Sep 17 00:00:00 2001 From: Donald Gagne Date: Sun, 26 Mar 2017 21:13:12 -0700 Subject: [PATCH] Fix button visibility --- src/PlanView/PlanView.qml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/PlanView/PlanView.qml b/src/PlanView/PlanView.qml index 952e582..dc37ba6 100644 --- a/src/PlanView/PlanView.qml +++ b/src/PlanView/PlanView.qml @@ -673,11 +673,8 @@ QGCView { color: qgcPal.window title: qsTr("Plan") z: QGroundControl.zOrderWidgets - showAlternateIcon: [ false, false, false, false, false ] - rotateImage: [ false, false, false, false, false ] - animateImage: [ false, false, false, false, false ] buttonEnabled: [ true, true, true, true, true ] - buttonVisible: [ true, true, true, true, _showZoom, _showZoom ] + buttonVisible: [ true, true, true, _showZoom, _showZoom ] maxHeight: mapScale.y - toolStrip.y property bool _showZoom: !ScreenTools.isMobile