2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Removed anim::cvalue and ColorAnimation, all done by fvalue now.

Also moved style::interpolate to anim::color/anim::pen/anim::brush.
This commit is contained in:
John Preston
2016-11-07 14:24:19 +03:00
parent 0326976473
commit 23c2e5364a
55 changed files with 483 additions and 602 deletions

View File

@@ -3147,10 +3147,10 @@ void EmojiPan::step_slide(float64 ms, bool timer) {
_fromCache = _toCache = QPixmap();
if (_cache.isNull()) showAll();
} else {
a_fromCoord.update(dt1, st::introHideFunc);
a_fromAlpha.update(dt1, st::introAlphaHideFunc);
a_toCoord.update(dt2, st::introShowFunc);
a_toAlpha.update(dt2, st::introAlphaShowFunc);
a_fromCoord.update(dt1, anim::easeInCirc);
a_fromAlpha.update(dt1, anim::easeOutCirc);
a_toCoord.update(dt2, anim::easeOutCirc);
a_toAlpha.update(dt2, anim::easeInCirc);
}
if (timer) update();
}