mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 13:10:13 +00:00
Fix power monitor automatically focusing on an invisible text box
This commit is contained in:
1 parent
631af51f58
commit
70080d9acf
1 file changed
-2
@@ -109,7 +109,6 @@ public class GuiPowerMonitor extends GuiContainerBase {
|
||||
startTF = new TextFieldEIO(getFontRenderer(), x, y, 28, 14);
|
||||
startTF.setCanLoseFocus(true);
|
||||
startTF.setMaxStringLength(3);
|
||||
startTF.setFocused(true);
|
||||
startTF.setVisible(false);
|
||||
startTF.setText(INT_NF.format(te.asPercentInt(te.startLevel)));
|
||||
|
||||
@@ -118,7 +117,6 @@ public class GuiPowerMonitor extends GuiContainerBase {
|
||||
endTF = new TextFieldEIO(getFontRenderer(), x, y, 28, 14);
|
||||
endTF.setCanLoseFocus(true);
|
||||
endTF.setMaxStringLength(3);
|
||||
endTF.setFocused(false);
|
||||
endTF.setVisible(false);
|
||||
endTF.setText(INT_NF.format(te.asPercentInt(te.stopLevel)));
|
||||
|
||||
|
||||
Reference in new issue
Block a user