added cooldown to layouting to reduce lag when opening the emojis tab
This commit is contained in:
@@ -77,6 +77,9 @@ protected:
|
||||
QPoint &relativePos, int &index);
|
||||
|
||||
private:
|
||||
QTimer *layoutCooldown;
|
||||
bool layoutQueued;
|
||||
|
||||
QTimer updateTimer;
|
||||
bool updateQueued = false;
|
||||
bool messageWasAdded = false;
|
||||
|
||||
Reference in New Issue
Block a user