Skip to content

Commit 7e7ec9b

Browse files
committed
Fixes Sub6Resources#581 which caused a crash when using table cell rowspans in different columns
1 parent e421c47 commit 7e7ec9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/layout_element.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class TableLayoutElement extends LayoutElement {
9595
for (var row in rows) {
9696
int columni = 0;
9797
for (var child in row.children) {
98-
if (columnRowOffset[columni] > 0) {
98+
while (columnRowOffset[columni] > 0) {
9999
columnRowOffset[columni] = columnRowOffset[columni] - 1;
100100
columni++;
101101
}

0 commit comments

Comments
 (0)