mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-17 19:15:13 +00:00
Properly fix NEI quantity text field behavior (#152)
* Always show quantity text box * Increment version * Properly fix quantity text field
This commit is contained in:
1 parent
1cf8f4c1d2
commit
dd18d2b775
5 files changed
+14
-34
No files matched your search
@@ -121,8 +121,10 @@ public abstract class TextField extends Widget
|
||||
if (focus) {
|
||||
previousKeyboardRepeatEnabled = Keyboard.areRepeatEventsEnabled();
|
||||
Keyboard.enableRepeatEvents(true);
|
||||
gainFocus();
|
||||
} else {
|
||||
Keyboard.enableRepeatEvents(previousKeyboardRepeatEnabled);
|
||||
loseFocus();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user