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

step() has no effect on a "number" controller with min and max set #56

Open
GoogleCodeExporter opened this issue Oct 30, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Create a "number" controller like so:

var controller = gui.add(myObject, 'speed', 0, 100, 5);

I would expect the textbox in controller UI to increase by steps of 5.
Possibly, I'd also expect the slider granularity to be 5 as well.

What I'm seeing though is that the step isn't used at all.

I'm using Chrome on Windows 7 with dat.gui downloaded on the 21 dec. 2014.


Original issue reported on code.google.com by [email protected] on 21 Dec 2014 at 2:38

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

1 participant