Allowed live animations over cached dialogs list rows.

This commit is contained in:
23rd
2026-07-02 13:46:33 +03:00
parent b3a2434abb
commit ffeb5d41cd
7 changed files with 257 additions and 25 deletions
@@ -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(