Side navigation
#3317 closed enhancement (invalid)
Opened September 02, 2008 08:42PM UTC
Closed September 03, 2008 04:33PM UTC
Last modified September 03, 2008 07:50PM UTC
slider: support floating values, set number of decimals
Reported by: | herve | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.3 |
Component: | plugin | Version: | 1.2.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
For the needs of a math project, I had to modify slider to support floating values. It was rounding everything but I needed a two-decimal precision.
So I modified the source code and now I contribute it.
Basically, I added the functions "round" and "parse", and used them instead of "Math.round" and "parseInt".
I tried to stick with the coding style. The attached patch is in git format. I'm not confident with the format you expect for subversion. Just tell me so.
This is a ticket for the slider widget, but I didn't find it in the component list.
Please repost this to the UI Bug Tracker.