mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Trivial in-memory frame caching.
This commit is contained in:
@@ -1099,7 +1099,7 @@ std::unique_ptr<Lottie::Animation> LottieFromDocument(
|
||||
Storage::Cache::Key{ key->high, key->low + int(sizeTag) },
|
||||
data,
|
||||
filepath,
|
||||
box);
|
||||
Lottie::FrameRequest{ box });
|
||||
}
|
||||
return Lottie::FromContent(data, filepath);
|
||||
}
|
||||
|
Reference in New Issue
Block a user