mirror of
https://github.com/GTNewHorizons/StructureLib.git
synced 2026-11-19 03:39:15 +00:00
spotless
This commit is contained in:
2 files changed
+8
-13
No files matched your search
@@ -216,16 +216,13 @@ public class GuiScreenConfigureChannels extends GuiScreen implements IGuiScreen
|
||||
case Keyboard.KEY_RETURN:
|
||||
case Keyboard.KEY_NUMPADENTER:
|
||||
GuiButton add = getButtonList().get(0);
|
||||
if (add.enabled)
|
||||
doActionPerformed(add);
|
||||
if (add.enabled) doActionPerformed(add);
|
||||
return;
|
||||
case Keyboard.KEY_UP:
|
||||
if (list.selectedIndex > 0)
|
||||
list.setSelection(list.selectedIndex - 1);
|
||||
if (list.selectedIndex > 0) list.setSelection(list.selectedIndex - 1);
|
||||
return;
|
||||
case Keyboard.KEY_DOWN:
|
||||
if (list.selectedIndex < list.getNumElements() - 1)
|
||||
list.setSelection(list.selectedIndex + 1);
|
||||
if (list.selectedIndex < list.getNumElements() - 1) list.setSelection(list.selectedIndex + 1);
|
||||
return;
|
||||
}
|
||||
if (key.textboxKeyTyped(aChar, aKey)) {
|
||||
|
||||
Reference in new issue
Block a user