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

Mod Options panel has no scroll bar #48

Open
Cosine256 opened this issue Sep 11, 2023 · 1 comment
Open

Mod Options panel has no scroll bar #48

Cosine256 opened this issue Sep 11, 2023 · 1 comment

Comments

@Cosine256
Copy link

The Mod Options panel has no visible scroll bar, even if the options extend past the bottom of the panel. This happens with script mods with a lot of options, such as Randomizer. Scrolling with the mouse wheel still works.

I believe this is being caused by the combination flag ImGuiWindowFlags_NoDecoration on the ImGui window:

ImGui::Begin(
"Mod Options",
nullptr,
ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoDecoration);

That flag is redundant with the others, since NoTitleBar, NoResize, and NoCollapse are already explicitly set on the window, so all it serves to do is add NoScrollbar.

@Dregu
Copy link
Contributor

Dregu commented Oct 30, 2023

Enabled scrollbars and other window controls in #51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants