Added condition for max y placement

This commit is contained in:
Collin Smith 2020-07-12 12:29:14 -07:00
parent c8b69868b5
commit ad7e1431d0

View File

@ -59,7 +59,7 @@ TopLevelSort:
}
}
if (!contains) break TopLevelSort;
if (!contains && y + item.base.invheight - 1 < height) break TopLevelSort;
}
}
@ -82,7 +82,7 @@ TopLevelSort:
}
}
if (!contains) break TopLevelSort;
if (!contains && y + item.base.invheight - 1 < height) break TopLevelSort;
}
}