Browse Source

Zoom buttons not on mobile

QGC4.4
Don Gagne 8 years ago
parent
commit
f84a4b9f0a
  1. 2
      src/FlightDisplay/FlightDisplayViewMap.qml
  2. 3
      src/MissionEditor/MissionEditor.qml

2
src/FlightDisplay/FlightDisplayViewMap.qml

@ -87,7 +87,7 @@ FlightMap { @@ -87,7 +87,7 @@ FlightMap {
buttonVisible: [ true, true, _showZoom, _showZoom ]
maxHeight: (_flightVideo.visible ? _flightVideo.y : parent.height) - toolStrip.y // Massive reach across hack
property bool _showZoom: !ScreenTools.isShortScreen
property bool _showZoom: !ScreenTools.isMobile
model: [
{

3
src/MissionEditor/MissionEditor.qml

@ -250,7 +250,6 @@ QGCView { @@ -250,7 +250,6 @@ QGCView {
function setCurrentItem(sequenceNumber) {
if (sequenceNumber !== _currentMissionIndex) {
console.log("setCurrentItem", sequenceNumber)
_currentMissionItem = undefined
_currentMissionIndex = -1
for (var i=0; i<_visualItems.count; i++) {
@ -712,7 +711,7 @@ QGCView { @@ -712,7 +711,7 @@ QGCView {
buttonVisible: [ true, true, true, true, true, _showZoom, _showZoom ]
maxHeight: mapScale.y - toolStrip.y
property bool _showZoom: !ScreenTools.isShortScreen
property bool _showZoom: !ScreenTools.isMobile
model: [
{

Loading…
Cancel
Save