diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml index 444012e8ac3c8b07148130268390f1fd78e1eb53..b15446cd114aa0a4e81bce7e81826cfffb8cba28 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml @@ -58,17 +58,17 @@ GroupBox { SliderWidget { id: opacitySlider minimum: 0 - maximum: 100 + maximum: 10 property variant pureValue: backendValues.opacity.value; onPureValueChanged: { - if (value != pureValue * 100) - value = pureValue * 100; + if (value != pureValue * 10) + value = pureValue * 10; } singleStep: 5; backendValue: backendValues.opacity onValueChanged: { - if ((value >= 0) && (value < 100)) - backendValues.opacity.value = value / 100; + if ((value >= 0) && (value <= 10)) + backendValues.opacity.value = value / 10; } } }