mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Increase minimal main menu footer height.
This commit is contained in:
@@ -1094,7 +1094,7 @@ void MainMenu::updateInnerControlsGeometry() {
|
||||
const auto available = height() - st::mainMenuCoverHeight - contentHeight;
|
||||
const auto footerHeight = std::max(
|
||||
available,
|
||||
st::mainMenuTelegramBottom + _telegram->height() + st::mainMenuSkip);
|
||||
st::mainMenuFooterHeightMin);
|
||||
if (_footer->height() != footerHeight) {
|
||||
_footer->resize(_footer->width(), footerHeight);
|
||||
}
|
||||
|
Reference in New Issue
Block a user