fishfolk / jumpy

Tactical 2D shooter in fishy pixels style. Made with Rust-lang 🦀 and Bevy 🪶
https://fishfolk.org/games/jumpy/
Other
1.59k stars 116 forks source link

Navigating menus (map select) with gamepad/keyboard does not scroll when moving selection outside visible item #976

Open MaxCWhitehead opened 2 months ago

MaxCWhitehead commented 2 months ago

Description

On a menu with a list of items such as map select, depending on scaling there may be a scroll bar. If moving focused selection with keyboard or gamepad, when moved to bottom outside visible area, it does not scroll view down. Scrolling with mouse is required to see what is selected.

To Reproduce

  1. Go into non-fullscreen mode
  2. Start game and get to map select
  3. press down until focus is outside of viewable items, note that scroll did not occur

Expected Behavior

Scrolling lists should automatically scroll to keep focus in view

Additional Context

No response

Log Messages

No response