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

optimized gifs scroll in saved gifs section

This commit is contained in:
John Preston
2015-12-30 01:33:56 +08:00
parent 38ea16fea4
commit d72a3c4189
5 changed files with 28 additions and 11 deletions

View File

@@ -366,6 +366,7 @@ public slots:
void updateSelected();
void onSettings();
void onPreview();
void onUpdateGifs();
signals:
@@ -415,6 +416,8 @@ private:
QList<bool> _custom;
bool _showingGifs;
uint64 _lastScrolled;
QTimer _updateGifs;
typedef QList<LayoutSavedGif*> GifRow;
typedef QList<GifRow> GifRows;