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

I can't change the colors of the themes after the new update. #26

Closed
Multifruta opened this issue May 3, 2018 · 1 comment
Closed

Comments

@Multifruta
Copy link

Multifruta commented May 3, 2018

So, the title says everything.
After the last update, i'm not able to change the colors using the function imgui.PushStyleColor("ButtonHovered", 0.20, 0.38, 0.04, 1.00) anymore

I tried changing the string that defines the object that i'm modifing ("ButtonHovered" >"ImGuiCol_ButtonHovered") but nothing happens.

What i "discovered" is that now the parametters for that function only reads the first value ingresed
From this:
imgui.PushStyleColor("ChildWindowBg", 0.13, 0.13, 0.13, 1.00)

Only returns this:
imgui.PushStyleColor("ChildWindowBg", 0.13)

And even if i try to modify all the colors from the theme, the program simply does not respond. Leaving me with some sort of black and unresponsive menu.

Is this some kind of bug? Or there is a new way to apply colors to the theme and this way is deprecated?

@slages
Copy link
Owner

slages commented May 11, 2018

I corrected it on the repo, I'll soon make a release and the pre-buil binaries with it.

@slages slages closed this as completed May 11, 2018
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