mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
QtLottie: Rebase onto upstream/dev.
This commit is contained in:
parent
2caa3e3def
commit
da845a089e
2 changed files with 2 additions and 2 deletions
2
Telegram/ThirdParty/qtlottie
vendored
2
Telegram/ThirdParty/qtlottie
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 44fa230637dafe2fe01ffc6e93c3e3f5841dcc5a
|
||||
Subproject commit 1e81797fd7ec924f49e13866b08f57708537251a
|
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue