2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Refactored checking of last input while notifications are displayed.

- Removed condition for Windows platform only.
 - Added smooth hiding of notifications in case video is watched or voice message is recorded.
 - psUserActionDone() was completely replaced with Core::App().updateNonIdle().
This commit is contained in:
23rd
2019-03-10 16:40:44 +03:00
committed by John Preston
parent 78d00bcf22
commit 3372dfcd3e
11 changed files with 9 additions and 54 deletions

View File

@@ -216,9 +216,7 @@ private:
Animation a_actionsOpacity;
QPixmap _buttonsCache;
#ifdef Q_OS_WIN
crl::time _started;
#endif // Q_OS_WIN
History *_history;
PeerData *_peer;