From 3c5cace175be6f18b46150d8e099e273203ec628 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 25 Jan 2024 17:55:10 +0400 Subject: [PATCH] Fix chats list bottom buttons skip. --- Telegram/SourceFiles/dialogs/dialogs_widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp index 9f2c9290c..c2c53681b 100644 --- a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp +++ b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp @@ -3002,7 +3002,7 @@ void Widget::updateControlsGeometry() { } const auto scrollTop = forumReportTop + (_forumReportBar ? _forumReportBar->bar().height() : 0); - const auto scrollHeight = height() - scrollTop; + const auto scrollHeight = height() - scrollTop - bottomSkip; const auto wasScrollHeight = _scroll->height(); _scroll->setGeometry(0, scrollTop, scrollWidth, scrollHeight); if (scrollHeight != wasScrollHeight) {