mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
0.10.10: Crashfix: Removed infinite recursion in Ui::FadeAnimation().
This commit is contained in:
@@ -24,7 +24,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
||||
|
||||
#define BETA_VERSION_MACRO (0ULL)
|
||||
|
||||
constexpr int AppVersion = 10009;
|
||||
constexpr str_const AppVersionStr = "0.10.9";
|
||||
constexpr int AppVersion = 10010;
|
||||
constexpr str_const AppVersionStr = "0.10.10";
|
||||
constexpr bool AppAlphaVersion = false;
|
||||
constexpr uint64 AppBetaVersion = BETA_VERSION_MACRO;
|
||||
|
@@ -103,7 +103,7 @@ void FadeAnimation::startAnimation(int duration) {
|
||||
}
|
||||
|
||||
void FadeAnimation::updateCallback() {
|
||||
if (_animation.animating(getms())) {
|
||||
if (_animation.animating()) {
|
||||
_widget->update();
|
||||
if (_updatedCallback) {
|
||||
_updatedCallback(_animation.current(_visible ? 1. : 0.));
|
||||
|
Reference in New Issue
Block a user