diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2021-08-30 10:53:02 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2021-08-30 10:53:02 +0200 |
commit | 8e43f9f23835e802b5caea2585db8a50a6408fbb (patch) | |
tree | bcbf0c6a1c659ee86c0eda1be00e6adf3955058b /src/main | |
parent | 7e065b9d6b8763377a3c3fbec68145aa8cf79778 (diff) | |
download | NotEnoughUpdates-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.java | 2 |
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; } |