MagicStorage icon indicating copy to clipboard operation
MagicStorage copied to clipboard

Added Filtering by Tooltip as a config option and handle "Ctrl + Arrow Key" in search bar

Open DawnDevelop opened this issue 2 years ago • 1 comments

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.

DawnDevelop avatar Jul 11 '22 09:07 DawnDevelop

@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.

DawnDevelop avatar Jul 12 '22 14:07 DawnDevelop