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

Slider reverse direction #854

Closed
wasawi opened this issue Sep 30, 2016 · 3 comments
Closed

Slider reverse direction #854

wasawi opened this issue Sep 30, 2016 · 3 comments

Comments

@wasawi
Copy link

wasawi commented Sep 30, 2016

Just bumped into a very stupid issue but don't see how to fix it. I'm very sorry I must be missing something very obvious.
How to set the minimum value (0) on the right hand side?

    ImGui::SliderFloat("Float", &floatValue, 1.0f, 0.0f);

This has a strange behavior. The slider appears and disappears on the sides when dragging.
Again, sorry for a very basic question.

@ocornut
Copy link
Owner

ocornut commented Sep 30, 2016

Amusingly you are the first person to request that. I never tested nor tried to make the slider work this way and curiously I have not even added an assert.

So, it needs to be worked on!

@wasawi
Copy link
Author

wasawi commented Oct 3, 2016

Thank you for your fast reply!

@ocornut
Copy link
Owner

ocornut commented Nov 27, 2016

@wasawi This has been added now!

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

No branches or pull requests

2 participants