diff --git a/core/src/mindustry/world/blocks/ItemSelection.java b/core/src/mindustry/world/blocks/ItemSelection.java index 2f654d081b..cf4f5a0580 100644 --- a/core/src/mindustry/world/blocks/ItemSelection.java +++ b/core/src/mindustry/world/blocks/ItemSelection.java @@ -51,6 +51,7 @@ public class ItemSelection{ scrollPos = pane.getScrollY(); }); - table.add(pane).maxHeight(40 * 5); + pane.setOverscroll(false, false); + table.add(pane).maxHeight(Scl.scl(40 * 5)); } } diff --git a/gradle.properties b/gradle.properties index 2da06eb8c3..7f41c54766 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ org.gradle.daemon=true org.gradle.jvmargs=-Xms256m -Xmx1024m -archash=dccfeeeffbf4e66b815306306b55472dcd123f61 +archash=899ab293f6f7bab4deadec06fac7a666028edf15