2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

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) {
return 0;
}
constexpr auto kMaxAttempts = 5;
constexpr auto kMaxAttempts = 16;
auto attempts = 0;
while (true) {
_inResize = true;