mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +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
@@ -213,7 +213,7 @@ public class GuiSecurityDesk extends GuiMekanism
|
||||
}
|
||||
}
|
||||
|
||||
if(SPECIAL_CHARS.contains(c) || Character.isDigit(c) || Character.isLetter(c) || i == Keyboard.KEY_BACK || i == Keyboard.KEY_DELETE || i == Keyboard.KEY_LEFT || i == Keyboard.KEY_RIGHT)
|
||||
if(SPECIAL_CHARS.contains(c) || Character.isDigit(c) || Character.isLetter(c) || isTextboxKey(c, i))
|
||||
{
|
||||
trustedField.textboxKeyTyped(c, i);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user