From f1451a1de38735d63a1e842b7127b951a8126cd7 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Thu, 13 Feb 2025 09:34:52 +0300 Subject: [PATCH] Added ripple animation to button for gift to channel in history widget. --- Telegram/SourceFiles/chat_helpers/chat_helpers.style | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Telegram/SourceFiles/chat_helpers/chat_helpers.style b/Telegram/SourceFiles/chat_helpers/chat_helpers.style index 3c1518b37..9d13bb099 100644 --- a/Telegram/SourceFiles/chat_helpers/chat_helpers.style +++ b/Telegram/SourceFiles/chat_helpers/chat_helpers.style @@ -861,6 +861,10 @@ historyGiftToChannel: IconButton(defaultIconButton) { icon: icon{{ "menu/gift_premium", windowActiveTextFg }}; iconOver: icon{{ "menu/gift_premium", windowActiveTextFg }}; + + rippleAreaPosition: point(3px, 3px); + rippleAreaSize: 40px; + ripple: universalRippleAnimation; } historyUnblock: FlatButton(historyComposeButton) { color: attentionButtonFg;