rc-slider
Advanced tools
Comparing version 1.2.9 to 1.2.10
@@ -87,3 +87,3 @@ 'use strict'; | ||
var unit = ((props.max - props.min) / (props.marks.length - 1)).toFixed(5); | ||
return Math.ceil(value / unit); | ||
return Math.round(value / unit); | ||
} | ||
@@ -90,0 +90,0 @@ }, |
{ | ||
"name": "rc-slider", | ||
"version": "1.2.9", | ||
"version": "1.2.10", | ||
"description": "slider ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21071