MagicStorage
MagicStorage copied to clipboard
Added Filtering by Tooltip as a config option and handle "Ctrl + Arrow Key" in search bar
Hey,
I added a config option to enable filtering by Tooltip of an Item. I also added handling for pressing Ctrl + “Arrow Left” or “Arrow Right” in the search bar. I don't know if that is something you guys are interested in, but as a new Player, I find filtering by Tooltip extremely useful.
Hope this helps in any way.
@ExterminatorX99 Indentation should be fixed. You are right by only checking for isControlPressed once, and it is pretty obvious looking at it now. Though, the code is in the correct place in my opinion. The Handling for DeleteWord() was already there, and I think it makes sense that the Code is kept together there, else we would have to check if CTRL is pressed twice. Let me know if you have more suggestions.