Skip to content

Commit 8358632

Browse files
committed
Merge remote-tracking branch 'origin/configurable-channels' into dev
2 parents 534a4d8 + 1c84ef9 commit 8358632

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/main/java/blockrenderer6343/client/utils/TooltipButton.java

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public void drawButton(Minecraft mc, int mouseX, int mouseY) {
3333
}
3434

3535
public boolean isMouseOver(int mouseX, int mouseY) {
36+
if (supplier != null && !supplier.getAsBoolean()) return false;
3637
return this.enabled && this.visible
3738
&& mouseX >= this.xPosition
3839
&& mouseY >= this.yPosition

src/main/java/blockrenderer6343/integration/nei/GUI_MultiblockHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public abstract class GUI_MultiblockHandler<T> {
7676
protected static final int ICON_SIZE_X = 20;
7777
protected static final int ICON_SIZE_Y = 12;
7878
protected static final int MOUSE_OFFSET_X = 5;
79-
protected static final int MOUSE_OFFSET_Y = 43;
79+
protected static final int MOUSE_OFFSET_Y = 37;
8080
protected static final int BUTTON_LEFT = -5;
8181
protected static final int UNDER_PREVIEW_Y = 153;
8282
protected static final int BUTTON_RIGHT = 145;

0 commit comments

Comments
 (0)