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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user