mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Fix community layer bottom edge case.
This commit is contained in:
@@ -2376,6 +2376,7 @@ void Suggestions::updateControlsGeometry() {
|
||||
}
|
||||
|
||||
const auto expanding = false;
|
||||
const auto contentTillBottom = true;
|
||||
for (const auto &[key, list] : _mediaLists) {
|
||||
const auto full = !list.wrap->scrollBottomSkip();
|
||||
const auto additionalScroll = (full ? st::boxRadius : 0);
|
||||
@@ -2384,6 +2385,7 @@ void Suggestions::updateControlsGeometry() {
|
||||
list.wrap->updateGeometry(
|
||||
wrapGeometry,
|
||||
expanding,
|
||||
contentTillBottom,
|
||||
additionalScroll,
|
||||
content.height());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user