Allow more attempts to finalize section geometry.

This commit is contained in:
John Preston 2022-05-05 09:32:12 +04:00
parent 910d0a7e47
commit fc7f1991dd

View file

@ -247,7 +247,7 @@ int LayerWidget::resizeGetHeight(int newWidth) {
if (!parentWidget() || !_content) { if (!parentWidget() || !_content) {
return 0; return 0;
} }
constexpr auto kMaxAttempts = 5; constexpr auto kMaxAttempts = 16;
auto attempts = 0; auto attempts = 0;
while (true) { while (true) {
_inResize = true; _inResize = true;