Skip to content

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

@GoogleCodeExporter

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 [email protected] on 21 Dec 2014 at 2:38

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions