QtLottie: Rebase onto upstream/dev.

This commit is contained in:
John Preston
2019-05-02 12:43:55 +04:00
parent 2caa3e3def
commit da845a089e
2 changed files with 2 additions and 2 deletions
@@ -437,7 +437,7 @@ public:
qreal easedValue = easing->easing.valueForProgress(progress);
// For the time being, 4D vectors are used only for colors, and
// the value must be restricted to between [0, 1]
easedValue = qBound(0.0, easedValue, 1.0);
easedValue = qBound(qreal(0.0), easedValue, qreal(1.0));
T sv = easing->startValue;
T ev = easing->endValue;
qreal x = sv.x() + easedValue * (ev.x() - sv.x());