From e1420ba26c92c7dc8848c879afb7bb2c50b77460 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Fri, 4 Jul 2025 09:46:09 +0300 Subject: [PATCH] Decreased size of ministars for buttons in media for history view. --- Telegram/SourceFiles/ui/effects/premium_stars.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/ui/effects/premium_stars.cpp b/Telegram/SourceFiles/ui/effects/premium_stars.cpp index f88d0dc259..7323500ea1 100644 --- a/Telegram/SourceFiles/ui/effects/premium_stars.cpp +++ b/Telegram/SourceFiles/ui/effects/premium_stars.cpp @@ -39,7 +39,9 @@ MiniStars::MiniStars( , _deathTime((type != Type::SlowStars && type != Type::SlowDiamondStars) ? Interval{ 1500, 2000 } : Interval{ 1500 * 2, 2000 * 2 }) -, _size({ 5, 10 }) +, _size((type != Type::SlowStars) + ? Interval{ 5, 10 } + : Interval{ 2, 4 }) , _alpha({ opaque ? 100 : 40, opaque ? 100 : 60 }) , _sinFactor({ 10, 190 }) , _spritesCount({ 0, ((type == Type::MonoStars) ? 1 : 2) })