mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-25 01:50:36 +00:00
Allow more attempts to finalize section geometry.
This commit is contained in:
parent
910d0a7e47
commit
fc7f1991dd
@ -247,7 +247,7 @@ int LayerWidget::resizeGetHeight(int newWidth) {
|
||||
if (!parentWidget() || !_content) {
|
||||
return 0;
|
||||
}
|
||||
constexpr auto kMaxAttempts = 5;
|
||||
constexpr auto kMaxAttempts = 16;
|
||||
auto attempts = 0;
|
||||
while (true) {
|
||||
_inResize = true;
|
||||
|
Loading…
Reference in New Issue
Block a user