Opened 8 years ago

Closed 8 years ago

Last modified 6 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 8 years ago by scottgonzalez

  • Milestone changed from TBD to 1.6
  • Priority changed from minor to critical

comment:2 Changed 8 years ago by paul

  • Resolution set to fixed
  • Status changed from new to closed

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.