Browse Source

Merge pull request #5426 from HorusAeronaves/brackets

FactSliderPanel.qml: Correct brackets position
QGC4.4
Don Gagne 8 years ago committed by GitHub
parent
commit
90315714d1
  1. 30
      src/QmlControls/FactSliderPanel.qml

30
src/QmlControls/FactSliderPanel.qml

@ -111,25 +111,25 @@ Column { @@ -111,25 +111,25 @@ Column {
onValueChanged: {
if (_loadComplete) {
fact.value = value
}
}
}
}
activeFocusOnPress: true
activeFocusOnPress: true
MultiPointTouchArea {
anchors.fill: parent
MultiPointTouchArea {
anchors.fill: parent
minimumTouchPoints: 1
maximumTouchPoints: 1
mouseEnabled: false
}
minimumTouchPoints: 1
maximumTouchPoints: 1
mouseEnabled: false
}
// Block wheel events
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton
onWheel: {
wheel.accepted = true
// Block wheel events
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton
onWheel: {
wheel.accepted = true
}
}
} // Slider

Loading…
Cancel
Save