Make animation tick less, almost like before.

Unfortunately otherwise animations look not smooth.

Fixes #5897.
This commit is contained in:
John Preston 2019-04-09 17:21:29 +04:00
parent 826d6011a1
commit 9bfa6d7cf4

View File

@ -14,7 +14,7 @@ namespace Ui {
namespace Animations {
namespace {
constexpr auto kAnimationTick = crl::time(1000) / 60;
constexpr auto kAnimationTick = crl::time(1000) / 120;
constexpr auto kIgnoreUpdatesTimeout = crl::time(4);
} // namespace