setting/clearing control mappings scrolls window back up to top
briaguya-ai opened this issue · comments
Describe the bug
setting or clearing controls when scrolled down in the "Controls" menu scrolls the window back to the top, but the selected element stays selected while offscreen
To Reproduce
Steps to reproduce the behavior:
- go to the "Controls" menu
- navigate down (using a keyboard or controller) far enough that the window scrolls
- set or clear a mapping
Expected behavior
the window remains at the current scroll position
Screenshots
Setting:
Screencast.from.2024-06-05.01-04-18.webm
Clearing:
Screencast.from.2024-06-05.01-02-37.webm
Hmm, so this is actually a bug after all... I also noticed this a while ago, when trying to add sliders at the bottom of this menu. Changing the value of the slider would scroll the menu all the way to the top. I assumed it was just me not knowing enough about rmlui and screwing something up.