2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

QtLottie: Check each layer for visibility by frame.

This commit is contained in:
John Preston
2019-05-09 13:49:29 +03:00
parent 08ad74da8f
commit 6abf74530d
22 changed files with 24 additions and 25 deletions

View File

@@ -96,7 +96,7 @@ QImage Animation::frame(crl::time now) const {
LottieRasterRenderer renderer(&p);
for (const auto element : tree.children()) {
if (element->active(frame)) {
element->render(renderer);
element->render(renderer, frame);
}
}
}