Commit 90315714 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #5426 from HorusAeronaves/brackets

FactSliderPanel.qml: Correct brackets position
parents b2d90f0c 4b793f8d
...@@ -111,25 +111,25 @@ Column { ...@@ -111,25 +111,25 @@ Column {
onValueChanged: { onValueChanged: {
if (_loadComplete) { if (_loadComplete) {
fact.value = value fact.value = value
} }
} }
activeFocusOnPress: true activeFocusOnPress: true
MultiPointTouchArea { MultiPointTouchArea {
anchors.fill: parent anchors.fill: parent
minimumTouchPoints: 1 minimumTouchPoints: 1
maximumTouchPoints: 1 maximumTouchPoints: 1
mouseEnabled: false mouseEnabled: false
} }
// Block wheel events // Block wheel events
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
acceptedButtons: Qt.NoButton acceptedButtons: Qt.NoButton
onWheel: { onWheel: {
wheel.accepted = true wheel.accepted = true
} }
} }
} // Slider } // Slider
......
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