aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2021-08-30 10:53:02 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2021-08-30 10:53:02 +0200
commit8e43f9f23835e802b5caea2585db8a50a6408fbb (patch)
treebcbf0c6a1c659ee86c0eda1be00e6adf3955058b /src/main
parent7e065b9d6b8763377a3c3fbec68145aa8cf79778 (diff)
downloadNotEnoughUpdates-8e43f9f23835e802b5caea2585db8a50a6408fbb.tar.gz
NotEnoughUpdates-8e43f9f23835e802b5caea2585db8a50a6408fbb.tar.bz2
NotEnoughUpdates-8e43f9f23835e802b5caea2585db8a50a6408fbb.zip
fix shift click delay
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java2
1 files changed, 2 insertions, 0 deletions
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 78402a7f..bc96b732 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java
@@ -1543,6 +1543,8 @@ public class StorageOverlay extends GuiElement {
if(mouseX > guiLeft+181 && mouseX < guiLeft+181+162 &&
mouseY > guiTop+storageViewSize+18 && mouseY < guiTop+storageViewSize+94) {
+ if(Keyboard.isKeyDown(Keyboard.KEY_LSHIFT))
+ dirty = true;
return false;
}