diff options
author | Glease <4586901+Glease@users.noreply.github.com> | 2021-06-25 14:49:25 +0800 |
---|---|---|
committer | Glease <4586901+Glease@users.noreply.github.com> | 2021-06-25 14:49:33 +0800 |
commit | e49a886b31e826a32b973ba3f2324063f6fe66a3 (patch) | |
tree | 0ac6a89828a385e4001ceb95f862f6b254624e58 /src/main/java/gregtech/api/gui | |
parent | c01b01c1a64f1635df6a8fda809d4320758615ab (diff) | |
download | GT5-Unofficial-e49a886b31e826a32b973ba3f2324063f6fe66a3.tar.gz GT5-Unofficial-e49a886b31e826a32b973ba3f2324063f6fe66a3.tar.bz2 GT5-Unofficial-e49a886b31e826a32b973ba3f2324063f6fe66a3.zip |
Fix redstone cover UX being weird
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api/gui')
-rw-r--r-- | src/main/java/gregtech/api/gui/GT_GUICover.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/gui/GT_GUICover.java b/src/main/java/gregtech/api/gui/GT_GUICover.java index 1e51cf0758..2e9d082ebf 100644 --- a/src/main/java/gregtech/api/gui/GT_GUICover.java +++ b/src/main/java/gregtech/api/gui/GT_GUICover.java @@ -252,10 +252,17 @@ public abstract class GT_GUICover extends GuiScreen implements GT_IToolTipRender textBox.setFocused(textBox.equals(boxToFocus) && textBox.isEnabled()); } } + + /** + * Given textbox's value might have changed. + */ public void applyTextBox(GT_GuiIntegerTextBox box) { } + /** + * Reset the given textbox to the last valid value, <b>NOT</b> 0. + */ public void resetTextBox(GT_GuiIntegerTextBox box) { } |