Browse Source

Merge pull request #5993 from DonLakeFlyer/FactSliderPanel

Fix Android slider
QGC4.4
Don Gagne 7 years ago committed by GitHub
parent
commit
1348442580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      src/QmlControls/FactSliderPanel.qml

17
src/QmlControls/FactSliderPanel.qml

@ -53,12 +53,6 @@ Column { @@ -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 { @@ -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 { @@ -114,16 +109,6 @@ Column {
}
}
activeFocusOnPress: true
MultiPointTouchArea {
anchors.fill: parent
minimumTouchPoints: 1
maximumTouchPoints: 1
mouseEnabled: false
}
// Block wheel events
MouseArea {
anchors.fill: parent

Loading…
Cancel
Save