mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-26 06:53:26 +00:00
Added ability to have the NEI search be auto-focused on open. (#492)
* Added open to have the NEI search be auto-focused on open. It will automatically blue if the mouse is moved before typing anything so immediate 'r' and such use works as expected. * Added open to have the NEI search be auto-focused on open. It will automatically blue if the mouse is moved before typing anything so immediate 'r' and such use works as expected. * Add an allowlist for what classnames to allow the search auto-focus to work on * sa * Add `INEIAutoFocusSearchEnable` interface for opting in to autofocus search box by a mod. Moved the autofocus list from config into a standalone file at the loss of live-updating. * Remove now-superfluous lang entries for search focus prefix allowlist * Undo intellij automatic star-imports... --------- Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
1 parent
dc4426d9c9
commit
8da541460f
7 files changed
+107
-1
No files matched your search
@@ -0,0 +1,8 @@
|
||||
package codechicken.nei.api;
|
||||
|
||||
/**
|
||||
* Implement this interface on a GuiContainer to enable the autofocus search in NEI (if the autofocus option is enabled)
|
||||
* without needing to add the classname to the config file .
|
||||
*/
|
||||
public interface INEIAutoFocusSearchEnable {
|
||||
}
|
||||
Reference in new issue
Block a user