From 3076747d3eb2e5627bbebce1a7553ffb3cd34ba2 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 22 Jan 2026 11:46:05 +0400 Subject: [PATCH] Improve starting transitions. --- Telegram/SourceFiles/boxes/star_gift_craft_animation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/boxes/star_gift_craft_animation.cpp b/Telegram/SourceFiles/boxes/star_gift_craft_animation.cpp index 37c28b4595..cfa5ad6b1c 100644 --- a/Telegram/SourceFiles/boxes/star_gift_craft_animation.cpp +++ b/Telegram/SourceFiles/boxes/star_gift_craft_animation.cpp @@ -365,7 +365,7 @@ struct GiftFlightPosition { } void ApplyRotationImpulse(CraftAnimationState &state, int cornerIndex) { - constexpr auto kImpulseStrength = 2.0; + constexpr auto kImpulseStrength = 3.0; const auto impulseX = ((cornerIndex < 2) ? 1 : -1) * 0.5; const auto impulseY = ((cornerIndex % 2) ? 1 : -1) * 1.; @@ -725,7 +725,7 @@ void StartGiftFlight( 0., 1., crl::time(400), - anim::easeInCirc); + anim::easeInCubic); if (!animState->continuousAnimation.animating()) { animState->lastRotationUpdate = 0;