Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#3489 closed bug (fixed)

ui.slider steps option

Reported by: morf Owned by: paul
Priority: critical Milestone: 1.7
Component: ui.slider Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:


When using the steps option to produce (for example) .5 values the slider will jump to the correct position, but a whole number will always been returned e.g. set up for 20 steps between 5 and 15 so should produce 5.5, 6.5 etc.

If you move the slider you'll see it move to the correct position, but not return the .5 value

Change History (2)

comment:1 Changed 13 years ago by Scott González

Milestone: TBD1.6
Priority: minorcritical

comment:2 Changed 13 years ago by paul

Resolution: fixed
Status: newclosed

Hi there,

this is adressed/fixed in r967 (or if you want to wait for a release, 1.6rc3). There's a new option which is called 'round' - you have to disable that option explicitely, then it will return float values like you wanted.

Note: See TracTickets for help on using tickets.