From 3c352cad4076ffe9ab47acc63f5a55b2f07ad4c5 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 26 Jul 2022 19:33:03 +0300 Subject: [PATCH] Don't scroll outer categories through inner categories. --- Telegram/SourceFiles/chat_helpers/stickers_list_footer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/chat_helpers/stickers_list_footer.cpp b/Telegram/SourceFiles/chat_helpers/stickers_list_footer.cpp index 83e88f6cf..8fc1ca6d4 100644 --- a/Telegram/SourceFiles/chat_helpers/stickers_list_footer.cpp +++ b/Telegram/SourceFiles/chat_helpers/stickers_list_footer.cpp @@ -821,8 +821,9 @@ void StickersListFooter::scrollByWheelEvent( const auto index = v::get(_selected).index; if (_icons[index].setId == AllEmojiSectionSetId()) { use(_subiconState); + } else { + use(_iconState); } - use(_iconState); } void StickersListFooter::clipCallback(