Commit f84a4b9f authored by Don Gagne's avatar Don Gagne

Zoom buttons not on mobile

parent 0a8d908a
......@@ -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: [
{
......
......@@ -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 {
buttonVisible: [ true, true, true, true, true, _showZoom, _showZoom ]
maxHeight: mapScale.y - toolStrip.y
property bool _showZoom: !ScreenTools.isShortScreen
property bool _showZoom: !ScreenTools.isMobile
model: [
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment