Skip to content

Commit

Permalink
Merge pull request mavlink#4865 from DonLakeFlyer/PlanTooStrip
Browse files Browse the repository at this point in the history
Plan-ToolStrip: Fix button visibility
  • Loading branch information
DonLakeFlyer authored Mar 27, 2017
2 parents 8d8386a + 8616be4 commit 926fa89
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/PlanView/PlanView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 926fa89

Please sign in to comment.