mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Allow more attempts to finalize section geometry.
This commit is contained in:
parent
910d0a7e47
commit
fc7f1991dd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue