Fix power monitor automatically focusing on an invisible text box

This commit is contained in:
tterrag1098 committed 2015-06-12 11:56:07 -04:00
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)));