From 5a882d1fdcea2586c6a575d6f756c5ac9d85f540 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 17 Aug 2021 14:55:16 +0300 Subject: [PATCH] Rotate background in ListWidget. --- Telegram/SourceFiles/history/view/history_view_list_widget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp index c6786e75ad..83848a2834 100644 --- a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp @@ -1444,6 +1444,9 @@ void ListWidget::startItemRevealAnimations() { 1., kItemRevealDuration, anim::easeOutCirc); + if (view->data()->out()) { + controller()->rotateComplexGradientBackground(); + } } } }