2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-04 00:15:42 +00:00

Implement effects search.

This commit is contained in:
John Preston
2024-05-13 15:00:46 +04:00
parent bbb3a51b74
commit d102d256a9
7 changed files with 115 additions and 54 deletions

View File

@@ -1460,9 +1460,7 @@ int TabbedSelector::Inner::resizeGetHeight(int newWidth) {
}
int TabbedSelector::Inner::minimalHeight() const {
return (_minimalHeight > 0)
? _minimalHeight
: defaultMinimalHeight();
return _minimalHeight.value_or(defaultMinimalHeight());
}
int TabbedSelector::Inner::defaultMinimalHeight() const {