From 86d360c7823ee4cefb59cc598eafbcb04bebbfab Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Sun, 7 Jan 2018 10:10:58 -0800 Subject: [PATCH] Fix Android slider --- src/QmlControls/FactSliderPanel.qml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/QmlControls/FactSliderPanel.qml b/src/QmlControls/FactSliderPanel.qml index 2e1422d36..98f037ca1 100644 --- a/src/QmlControls/FactSliderPanel.qml +++ b/src/QmlControls/FactSliderPanel.qml @@ -53,12 +53,6 @@ Column { _loadComplete = true } - QGCLabel { - id: panelLabel - text: panelTitle - font.family: ScreenTools.demiboldFontFamily - } - Column { id: sliderOuterColumn anchors.left: parent.left @@ -105,6 +99,7 @@ Column { maximumValue: max stepSize: isNaN(fact.increment) ? step : fact.increment tickmarksEnabled: true + activeFocusOnPress: true property Fact fact: controller.getParameterFact(-1, param) @@ -114,16 +109,6 @@ Column { } } - activeFocusOnPress: true - - MultiPointTouchArea { - anchors.fill: parent - - minimumTouchPoints: 1 - maximumTouchPoints: 1 - mouseEnabled: false - } - // Block wheel events MouseArea { anchors.fill: parent -- 2.22.0