Index: sources/gui/qml/components/Slider.qml =================================================================== diff -u -r233c6a2073dcc5fbef26f115f01292656208420a -r6d612c93d9a38fde3fadc93766976b401cf76652 --- sources/gui/qml/components/Slider.qml (.../Slider.qml) (revision 233c6a2073dcc5fbef26f115f01292656208420a) +++ sources/gui/qml/components/Slider.qml (.../Slider.qml) (revision 6d612c93d9a38fde3fadc93766976b401cf76652) @@ -167,7 +167,7 @@ } ProgressRect { id: _progressRect - property real previousSliderValue: _progressRect.value + property real previousSliderValue: Number.NaN color : Colors.highlightProgressBar decimal : _root.decimal minimum : _root.minimum @@ -232,21 +232,6 @@ update(newCurrentValue) } - onPressed : { - if ( !isActive) { - // If the slider is not yet active, calculate and store the value of current x position - // Need to account for the extended touch areas - let adjustedXPosition = vMouseEvent.x - _progressRect.leftRightTouchMargin - - // Passing false for snapping to get exact value in respect to x - let newCurrentValue = calculateValue(adjustedXPosition, false) - _progressRect.previousSliderValue = newCurrentValue - } else { - // Need to account for the extended touch areas - updateHandleValue(vMouseEvent.x - _progressRect.leftRightTouchMargin) - } - } - onReleased: { if (isActive) { // Need to account for the extended touch areas