Skip to content

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

Description

@GoogleCodeExporter
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 jbiton...@gmail.com on 21 Dec 2014 at 2:38

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions