Ticket #3489 (closed bug: fixed)

Opened 6 years ago

Last modified 4 years ago

ui.slider steps option

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

Description

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.  http://www.morfed.net/wheel-offset-calculator/test.php 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

comment:1 Changed 5 years ago by scott.gonzalez

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

comment:2 Changed 5 years ago by paul

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

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.