Skip to content

Conversation

poplix
Copy link
Contributor

@poplix poplix commented Dec 3, 2010

hi,
I changed _trimAlignValue function to return the correct inclusive value between min and max..

…e between min and max.Fixes #6643 - using range and step options makes jquery change min and max
@scottgonzalez
Copy link
Member

This doesn't fix the problem, all it does is allow you to hit the min and max exactly. Every other possible step is still wrong.

@poplix
Copy link
Contributor Author

poplix commented Dec 3, 2010

of course you're right.. forgive my impatience..
valModStep = (val - this._valueMin()) % step; instead of valModStep = val % step; should fix the problem..

@scottgonzalez
Copy link
Member

Thank, landed in 0d0969c.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants