Zelda64Recomp / Zelda64Recomp

Static recompilation of Majora's Mask (and soon Ocarina of Time) for PC (Windows/Linux)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. go to the "Controls" menu
  2. navigate down (using a keyboard or controller) far enough that the window scrolls
  3. 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.