mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 06:14:41 +00:00
Better text field management
This commit is contained in:
1 parent
9005e589e0
commit
ae77ce0e19
15 files changed
+37
-20
No files matched your search
@@ -671,7 +671,7 @@ public class GuiDigitalMinerConfig extends GuiMekanism
|
||||
}
|
||||
}
|
||||
|
||||
if(Character.isDigit(c) || i == Keyboard.KEY_BACK || i == Keyboard.KEY_DELETE || i == Keyboard.KEY_LEFT || i == Keyboard.KEY_RIGHT)
|
||||
if(Character.isDigit(c) || isTextboxKey(c, i))
|
||||
{
|
||||
radiusField.textboxKeyTyped(c, i);
|
||||
minField.textboxKeyTyped(c, i);
|
||||
|
||||
Reference in new issue
Block a user