Searching for icons is very slow
replicaJunction opened this issue ยท 2 comments
When setting an icon for a menu entry, searching for an icon is very slow. Each time I press a letter, there's a long pause before the list is filtered down.
That part I can understand - I'm playing in a large modpack with a lot of images - but the issue is that if I already know what I want, I'll start typing a word and the GUI will pause like this after each character, long after I've pressed it. My guess is that each time a character is typed, the screen filters down the item list all over again based on the current text in the box.
My suggestion would be to delay the behavior of filtering down the list of item images until the user hasn't typed any characters for some amount of time. Maybe 500ms or so. Too high and the screen would feel laggy for a different reason, but too low and it doesn't address this issue.
On a side note, I'd like to say a large thank you for this mod. I deal with some wrist issues that make it tough for me to use a traditional keyboard, and this mod helps keep me from constantly rebinding keys back and forth. I very much appreciate your work on this!
According to your message on the other issue, you're playing on 1.12.2, which have not been supported for years.