fix recipe height

This commit is contained in:
slprime committed 2025-08-27 11:45:38 +03:00
1 parent 900d8ed828
commit 8a6bbb24fc
6 files changed
+71 -22

No files matched your search

@@ -50,7 +50,11 @@ public class NEIRecipeWidget extends Widget {
public void update() {
this.w = this.handlerInfo.getWidth();
this.h = this.handlerInfo.getHeight() + this.handlerInfo.getYShift();
if (this.showAsWidget || !this.handlerInfo.useCustomScroll() || this.handlerInfo.getMaxRecipesPerPage() > 1) {
this.h = this.handlerInfo.getHeight() + this.handlerInfo.getYShift();
}
this.needUpdate = true;
}