CleverRaven / Cataclysm-DDA

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

Debug edit terrain list of terrains is buggy #76215

Open CoroNaut opened 2 weeks ago

CoroNaut commented 2 weeks ago

Describe the bug

When i open the list of terrains in the debug menu, the scrolling in the imgui goes crazy and just jumps up and down randomly every tick. it gets even worse if you move your cursor overtop the list up and down slowly.

Attach save file

TESTING-trimmed.tar.gz

Steps to reproduce

  1. make world
  2. try to use the debug edit terrain feature

Expected behavior

The scrolling list shouldn't jump up and down randomly. moving the cursor over the imgui should select just one option instead of the entire list scrolling up and down repeatedly.

Screenshots

Weird buggy menu

Versions and configuration

Additional context

No response

db48x commented 1 week ago

Yea, that’s super weird and I have no idea why it happens. Yay!