From b4e8d580d0b4f67dc5dd45eb7cbf1e74cecf4439 Mon Sep 17 00:00:00 2001 From: AlexeyZavar Date: Wed, 10 Dec 2025 00:36:43 +0300 Subject: [PATCH] fix: apply ease to business hours --- Telegram/SourceFiles/info/profile/info_profile_actions.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp index d16b2523b9..b5615f8dac 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp @@ -635,6 +635,7 @@ base::options::toggle ShowChannelJoinedBelowAbout({ object_ptr>( inner, object_ptr(inner))); + other->ease = anim::easeOutCubic; other->toggleOn(state->expanded.value(), anim::type::normal); constexpr auto kSlideDuration = float64(st::slideWrapDuration); other->setDuration(kSlideDuration); @@ -650,7 +651,7 @@ base::options::toggle ShowChannelJoinedBelowAbout({ timingArrow->paintRequest() | rpl::start_with_next([=] { auto p = QPainter(timingArrow); const auto progress = other->animating() - ? (crl::now() - arrowAnimation->started()) / kSlideDuration + ? anim::easeOutCubic(1., (crl::now() - arrowAnimation->started()) / kSlideDuration) : 1.; const auto path = Ui::ToggleUpDownArrowPath(