Commit fd2c00af authored by Bharadwaj Raju's avatar Bharadwaj Raju
Browse files

kcms/nightcolor: Use sensible precision for coordinates

Before, NumberField displayed 6 decimal digits for the coordinates, which 
implies centimeter-scale resolution, which is of course not the case.

Now it shows 2 decimal digits, which is reasonable and consistent with the
level of precision shown in Automatic mode.
parent 0296e051
Pipeline #214458 passed with stage
in 6 minutes and 9 seconds
......@@ -15,10 +15,10 @@ QQC2.TextField {
inputMethodHints: Qt.ImhFormattedNumbersOnly
text: backend
text: Math.round(backend * 100)/100;
onBackendChanged: {
text = backend;
text = Math.round(backend * 100)/100;
}
onTextChanged: {
......
Supports Markdown
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