Skip to content

Commit 7c4d239

Browse files
committed
consume input
1 parent 2a696cf commit 7c4d239

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/gregtech/api/mui/widget/GhostCircuitSlotWidget.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import gregtech.api.mui.GTGuiTextures;
55
import gregtech.api.mui.GTGuis;
66
import gregtech.api.recipes.ingredients.IntCircuitIngredient;
7+
import gregtech.api.util.GTLog;
78
import gregtech.client.utils.TooltipHelper;
89

910
import net.minecraft.network.PacketBuffer;
@@ -55,7 +56,7 @@ public boolean onMouseScroll(ModularScreen.UpOrDown scrollDirection, int amount)
5556
if (isSelectorPanelOpen()) return true;
5657
MouseData mouseData = MouseData.create(scrollDirection.modifier);
5758
getSyncHandler().syncToServer(3, mouseData::writeToPacket);
58-
return false;
59+
return true;
5960
}
6061

6162
@Override

0 commit comments

Comments
 (0)