CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.26k stars 4.12k forks source link

Mouse input not working in the escape menu #75900

Open Keltas opened 3 weeks ago

Keltas commented 3 weeks ago

Describe the bug

In the escape menu when using LMB, the option highlighted by the mouse is not respected. Rather it selects the top option (view help) or the option highlighted by the keyboard beforehand. I believe this issue is likely since #74341 .

Attach save file

N/A

Steps to reproduce

  1. While in game press escape to open the menu.
  2. Mouse over an option that is not the top one.
  3. Use LMB (or enter) to choose the highlighted option.
  4. Observe as the Help window opens instead.

Expected behavior

I expect the chosen option to be opened instead.

Screenshots

No response

Versions and configuration

Additional context

No response

HenicTheSodgehog commented 2 weeks ago

It also doesn't work right in zone creation menu when you choose a category..

db48x commented 1 week ago

Duplicate of #76033

Edit: or rather, this was fixed by that PR