From c28ed540b25d60f5ee2bb886b8c03f3bff351fa8 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Fri, 23 Jul 2021 02:46:26 +0800 Subject: PRE30.1 --- .../io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java index 224953c9..cb1b46e1 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java @@ -1446,7 +1446,7 @@ public class StorageOverlay extends GuiElement { int dWheel = Mouse.getEventDWheel(); if(!(NotEnoughUpdates.INSTANCE.config.storageGUI.cancelScrollKey != 0 && - Keyboard.isKeyDown(NotEnoughUpdates.INSTANCE.config.storageGUI.cancelScrollKey)) && dWheel != 0) { + KeybindHelper.isKeyDown(NotEnoughUpdates.INSTANCE.config.storageGUI.cancelScrollKey)) && dWheel != 0) { if(dWheel < 0) { dWheel = -1; if(scrollVelocity > 0) scrollVelocity = 0; -- cgit