Merge pull request #2489 from Trial97/backport-2474-to-release-8.x

Backport 2474 to release 8.x
This commit is contained in:
Alexandru Ionut Tripon 2024-06-09 16:37:40 +03:00 committed by GitHub
commit bdf3497028
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,6 +66,9 @@ void VisualGroup::update()
rows[currentRow].height = maxRowHeight;
rows[currentRow].top = offsetFromTop;
currentRow++;
if (currentRow >= rows.size()) {
currentRow = rows.size() - 1;
}
offsetFromTop += maxRowHeight + 5;
positionInRow = 0;
maxRowHeight = 0;