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

Add some profiling logs to lottie player.

This commit is contained in:
John Preston
2019-06-29 14:24:46 +02:00
parent 2c461b9df3
commit f6bfbbb805
7 changed files with 111 additions and 32 deletions

View File

@@ -1383,7 +1383,7 @@ void StickersListWidget::ensureLottiePlayer(Set &set) {
set.lottiePlayer->updates(
) | rpl::start_with_next([=] {
const auto &sets = shownSets();
PROFILE_LOG(("WIDGET REPAINT REQUESTED"));
enumerateSections([&](const SectionInfo &info) {
if (shownSets()[info.section].lottiePlayer.get() == raw) {
update(