attoken / dat-gui

Automatically exported from code.google.com/p/dat-gui
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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