mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix chats list bottom buttons skip.
This commit is contained in:
parent
7e7fd6f1b4
commit
3c5cace175
1 changed files with 1 additions and 1 deletions
|
@ -3002,7 +3002,7 @@ void Widget::updateControlsGeometry() {
|
||||||
}
|
}
|
||||||
const auto scrollTop = forumReportTop
|
const auto scrollTop = forumReportTop
|
||||||
+ (_forumReportBar ? _forumReportBar->bar().height() : 0);
|
+ (_forumReportBar ? _forumReportBar->bar().height() : 0);
|
||||||
const auto scrollHeight = height() - scrollTop;
|
const auto scrollHeight = height() - scrollTop - bottomSkip;
|
||||||
const auto wasScrollHeight = _scroll->height();
|
const auto wasScrollHeight = _scroll->height();
|
||||||
_scroll->setGeometry(0, scrollTop, scrollWidth, scrollHeight);
|
_scroll->setGeometry(0, scrollTop, scrollWidth, scrollHeight);
|
||||||
if (scrollHeight != wasScrollHeight) {
|
if (scrollHeight != wasScrollHeight) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue