Fix FindAlternativeRow
This commit is contained in:
parent
0e4a20b2f0
commit
7e0b0cf2eb
@ -54,7 +54,7 @@ def FindAlternativeRow(rows, c, height, bottomReserved):
|
|||||||
for row in range(height-bottomReserved-math.ceil(c[7])):
|
for row in range(height-bottomReserved-math.ceil(c[7])):
|
||||||
if not rows[c[4]][row]:
|
if not rows[c[4]][row]:
|
||||||
return row
|
return row
|
||||||
elif rows[c[4]][row][1] < rows[c[4]][res][1]:
|
elif rows[c[4]][row][0] < rows[c[4]][res][0]:
|
||||||
res = row
|
res = row
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user