diff --git a/src/main/java/dan200/computercraft/client/gui/ComputerScreenBase.java b/src/main/java/dan200/computercraft/client/gui/ComputerScreenBase.java index 1373bbc61..6ff568413 100644 --- a/src/main/java/dan200/computercraft/client/gui/ComputerScreenBase.java +++ b/src/main/java/dan200/computercraft/client/gui/ComputerScreenBase.java @@ -108,6 +108,12 @@ public abstract class ComputerScreenBase extend return getFocused() != null && getFocused().mouseDragged( x, y, button, deltaX, deltaY ) || super.mouseDragged( x, y, button, deltaX, deltaY ); } + @Override + public boolean mouseReleased( double mouseX, double mouseY, int button ) + { + return (getFocused() != null && getFocused().mouseReleased( mouseX, mouseY, button )) || super.mouseReleased( x, y, button ); + } + @Override protected void drawForeground( @Nonnull MatrixStack transform, int mouseX, int mouseY ) {