diff --git a/core/src/com/riiablo/screen/panel/VendorGrid.java b/core/src/com/riiablo/screen/panel/VendorGrid.java index 42458431..9a8b39b1 100644 --- a/core/src/com/riiablo/screen/panel/VendorGrid.java +++ b/core/src/com/riiablo/screen/panel/VendorGrid.java @@ -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; } }