mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Allowed live animations over cached dialogs list rows.
This commit is contained in:
@@ -20,6 +20,10 @@ public:
|
||||
[[nodiscard]] bool scrolling() const {
|
||||
return _scrolling;
|
||||
}
|
||||
[[nodiscard]] bool hasFresh(uint64 rowId, QSize physicalSize) const {
|
||||
const auto i = _images.find(rowId);
|
||||
return (i != end(_images)) && (i->second.size() == physicalSize);
|
||||
}
|
||||
|
||||
template <typename PaintToImage>
|
||||
void paintRow(
|
||||
|
||||
Reference in New Issue
Block a user