mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Finish animations disabling.
Replace some infinite animations with static layouts.
This commit is contained in:
@@ -203,11 +203,11 @@ TimeMs BackgroundRow::radialTimeShift() const {
|
||||
}
|
||||
|
||||
void BackgroundRow::step_radial(TimeMs ms, bool timer) {
|
||||
_radial.update(
|
||||
const auto updated = _radial.update(
|
||||
radialProgress(),
|
||||
!radialLoading(),
|
||||
ms + radialTimeShift());
|
||||
if (timer && _radial.animating()) {
|
||||
if (timer && _radial.animating() && (!anim::Disabled() || updated)) {
|
||||
rtlupdate(radialRect());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user