isadorasophia / murder

Murder is a pixel art ECS game engine.

Home Page:https://isadorasophia.com/murder/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need a Better Search Box

saint11 opened this issue · comments

image
The search box we have right now currently very functional, but has a few problems and could be improved:

  • Opening with the mouse cursor far to the right will extend it, then it will slowly contract to a fixed size (?). This shouldn't happen. It should take the horizontal size of the field.
  • Arrow keys should select an option and enter should choose it.
  • Pressing escape should close it.

Check Murder.Editor\Utilities\Gui\SearchBox.cs for current implementation.

Good first issue for those familiar with ImGui

Added names and gameasset links, still need to work on the sizing and arrow controls.

Added Aseprite link

Not perfect, but solved by 5f188d1