Skip to content

Commit

Permalink
Retail: Fixed row indentation adjustments in ATT windows from taking …
Browse files Browse the repository at this point in the history
…into account a non-displayed row following the displayed rows
  • Loading branch information
ImUnicke committed Jun 13, 2024
1 parent 2e88cbb commit 6ba6638
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions AllTheThings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7519,15 +7519,15 @@ local function Refresh(self)
for i=2,totalRowCount do
row = container.rows[i] or CreateRow(container);
SetRowData(self, row, rowData[current]);
-- track the minimum indentation within the set of rows so they can be adjusted later
if row.indent and (not minIndent or row.indent < minIndent) then
minIndent = row.indent;
-- print("new minIndent",minIndent)
end
totalHeight = totalHeight + row:GetHeight();
if totalHeight > containerHeight then
break;
else
-- track the minimum indentation within the set of rows so they can be adjusted later
if row.indent and (not minIndent or row.indent < minIndent) then
minIndent = row.indent;
-- print("new minIndent",minIndent)
end
current = current + 1;
rowCount = rowCount + 1;
end
Expand Down

0 comments on commit 6ba6638

Please sign in to comment.