mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Cache background quickly if no buttons pressed.
This commit is contained in:
@@ -463,6 +463,7 @@ private:
|
||||
|
||||
CachedBackground _cachedBackground;
|
||||
QRect _willCacheForArea;
|
||||
crl::time _lastAreaChangeTime = 0;
|
||||
base::Timer _cacheBackgroundTimer;
|
||||
|
||||
rpl::lifetime _lifetime;
|
||||
|
Reference in New Issue
Block a user