Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move NoScrollbar and NoScrollWithMouse flags from cataimgui::window to uilist_impl #75971

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

mqrause
Copy link
Contributor

@mqrause mqrause commented Aug 26, 2024

Summary

None

Purpose of change

I noticed scrollbars and mouse scrolling were disabled when I started working on #73456 again. Looking into it it was disabled as part of the uilist migration, but that was erroneously done on the base imgui window and not the specific implementation.

I'm not sure if this broke any already existing imgui windows. The keybindings menu at least uses a table for scrolling, so it was unaffected.

Describe the solution

Move the flags from the general window to the specific uilist_impl, so other windows can use mouse scrolling.

Describe alternatives you've considered

Testing

uilist still scrolls through entries with mouse wheel.

Additional context

@github-actions github-actions bot added Info / User Interface Game - player communication, menus, etc. [C++] Changes (can be) made in C++. Previously named `Code` astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Aug 26, 2024
@akrieger akrieger merged commit 3e39d80 into CleverRaven:master Aug 28, 2024
21 of 28 checks passed
@mqrause mqrause deleted the imgui_mouse_scrolling branch August 28, 2024 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants