Index: sources/gui/qml/pages/treatment/sections/TreatmentPressureComponent.qml =================================================================== diff -u -rc2052b4fce3124e6d5132ccc78b3848b5f3e0dff -r9693baf4f04836f437c89e8bae423b65b36c7f8e --- sources/gui/qml/pages/treatment/sections/TreatmentPressureComponent.qml (.../TreatmentPressureComponent.qml) (revision c2052b4fce3124e6d5132ccc78b3848b5f3e0dff) +++ sources/gui/qml/pages/treatment/sections/TreatmentPressureComponent.qml (.../TreatmentPressureComponent.qml) (revision 9693baf4f04836f437c89e8bae423b65b36c7f8e) @@ -59,8 +59,5 @@ color : _root.valueOutRangeNotify ? Colors.backgroundRangeRect : rangebar.color markerBoundColor : Colors.rangeMarker - - Behavior on minimum { NumberAnimation { duration: 1000 } } - Behavior on maximum { NumberAnimation { duration: 1000 } } } } Index: sources/gui/qml/pages/treatment/sections/TreatmentPressures.qml =================================================================== diff -u -rc2052b4fce3124e6d5132ccc78b3848b5f3e0dff -r9693baf4f04836f437c89e8bae423b65b36c7f8e --- sources/gui/qml/pages/treatment/sections/TreatmentPressures.qml (.../TreatmentPressures.qml) (revision c2052b4fce3124e6d5132ccc78b3848b5f3e0dff) +++ sources/gui/qml/pages/treatment/sections/TreatmentPressures.qml (.../TreatmentPressures.qml) (revision 9693baf4f04836f437c89e8bae423b65b36c7f8e) @@ -63,10 +63,10 @@ width : _column.cellWidth barColor : Colors.pressuresArterialBar - minimum : _root.arterialMinimum - lowerBound : checkLowerBound(_root.arterialLowerBound, minimum) - upperBound : checkUpperBound(_root.arterialUpperBound, maximum) - maximum : _root.arterialMaximum + minimum : checkMinimum(_root.arterialMinimum, lowerBound) + lowerBound : _root.arterialLowerBound + upperBound : _root.arterialUpperBound + maximum : checkMaxmimum(_root.arterialMaximum, upperBound) pressure : _root.arterialPressure } @@ -76,10 +76,10 @@ width : _column.cellWidth barColor : Colors.pressuresVenousBar - minimum : _root.venousMinimum - lowerBound : checkLowerBound(_root.venousLowerBound, minimum) - upperBound : checkUpperBound(_root.venousUpperBound, maximum) - maximum : _root.venousMaximum + minimum : checkMinimum(_root.venousMinimum, lowerBound) + lowerBound : _root.venousLowerBound + upperBound : _root.venousUpperBound + maximum : checkMaxmimum(_root.venousMaximum, upperBound) pressure : _root.venousPressure } @@ -89,10 +89,10 @@ width : _column.cellWidth barColor : Colors.pressuresTmpBar - minimum : _root.tmpMinimum - lowerBound : checkLowerBound(_root.tmpLowerBound, minimum) - upperBound : checkUpperBound(_root.tmpUpperBound, maximum) - maximum : _root.tmpMaximum + minimum : checkMinimum(_root.tmpMinimum, lowerBound) + lowerBound : _root.tmpLowerBound + upperBound : _root.tmpUpperBound + maximum : checkMaxmimum(_root.tmpMaximum, upperBound) pressure : _root.tmpPressure } } @@ -112,6 +112,6 @@ onClicked : print ("Expanding Arrows clicked") } - function checkLowerBound (lowerBound, minimum) { return lowerBound < minimum ? minimum : lowerBound } - function checkUpperBound (upperBound, maximum) { return upperBound > maximum ? maximum : upperBound } + function checkMinimum (minimum, lowerBound) { return lowerBound < minimum ? lowerBound : minimum } + function checkMaxmimum (maximum, upperBound) { return upperBound > maximum ? upperBound : maximum } }