diff options
author | Martin Robertz <dream-master@gmx.net> | 2021-06-25 13:18:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-25 13:18:34 +0200 |
commit | 95a870e1750805cdfc425b5a02d466cce2005b4d (patch) | |
tree | 0ac6a89828a385e4001ceb95f862f6b254624e58 /src/main/java/gregtech/api | |
parent | c01b01c1a64f1635df6a8fda809d4320758615ab (diff) | |
parent | e49a886b31e826a32b973ba3f2324063f6fe66a3 (diff) | |
download | GT5-Unofficial-95a870e1750805cdfc425b5a02d466cce2005b4d.tar.gz GT5-Unofficial-95a870e1750805cdfc425b5a02d466cce2005b4d.tar.bz2 GT5-Unofficial-95a870e1750805cdfc425b5a02d466cce2005b4d.zip |
Merge pull request #573 from GTNewHorizons/redstone-cover-gui-fix
Fix redstone cover textbox UX being weird
Diffstat (limited to 'src/main/java/gregtech/api')
-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) { } |