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:
D-Cysteine authored and GitHub committed 2021-08-22 10:15:23 -07:00
1 parent 1cf8f4c1d2
commit dd18d2b775
5 files changed
+14 -34

No files matched your search

+2
View File
@@ -121,8 +121,10 @@ public abstract class TextField extends Widget
if (focus) {
previousKeyboardRepeatEnabled = Keyboard.areRepeatEventsEnabled();
Keyboard.enableRepeatEvents(true);
gainFocus();
} else {
Keyboard.enableRepeatEvents(previousKeyboardRepeatEnabled);
loseFocus();
}
}