diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-11-15 18:50:59 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-11-15 18:50:59 +0800 |
| commit | b7cb9e2a7dd9ea67201b25788a0cd67a63cebb45 (patch) | |
| tree | e92bc6ec9951109589347ac52ae97362fc9ac914 /RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java | |
| parent | 0bbf75bd1f6efa793a0afa569fb258677d14596e (diff) | |
| download | RoughlyEnoughItems-b7cb9e2a7dd9ea67201b25788a0cd67a63cebb45.tar.gz RoughlyEnoughItems-b7cb9e2a7dd9ea67201b25788a0cd67a63cebb45.tar.bz2 RoughlyEnoughItems-b7cb9e2a7dd9ea67201b25788a0cd67a63cebb45.zip | |
Fix #440 and brings better animations to the config menu.
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java')
| -rw-r--r-- | RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java index 03ef2daa6..fdfb8d6f8 100644 --- a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java +++ b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java @@ -256,7 +256,7 @@ public class ContainerScreenOverlay extends WidgetWithBounds implements REIOverl widgets.add(tmp = InternalWidgets.wrapLateRenderable(InternalWidgets.mergeWidgets( Widgets.createButton(configButtonArea, NarratorChatListener.NO_TITLE) .onClick(button -> { - if (Screen.hasShiftDown()) { + if (Screen.hasShiftDown() || Screen.hasControlDown()) { ClientHelper.getInstance().setCheating(!ClientHelper.getInstance().isCheating()); return; } |
