From 4b793f8dc021fab84e64961bad58a458551b00db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Tue, 11 Jul 2017 17:38:29 -0300 Subject: [PATCH] FactSliderPanel.qml: Correct brackets position MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- src/QmlControls/FactSliderPanel.qml | 30 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/QmlControls/FactSliderPanel.qml b/src/QmlControls/FactSliderPanel.qml index 3ed30f469..2e1422d36 100644 --- a/src/QmlControls/FactSliderPanel.qml +++ b/src/QmlControls/FactSliderPanel.qml @@ -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 -- 2.22.0