ui-kit-ck-consultant 0.5.305 → 0.5.306

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -4382,6 +4382,10 @@ var Gauge = /*#__PURE__*/function (_React$Component) {
4382
4382
  var step = _this.props.step ? _this.props.step : 1;
4383
4383
  var position = Math.round(positionX * 100 / width) - Math.round(positionX * 100 / width) % step;
4384
4384
 
4385
+ if (Math.round(positionX * 100 / width) % step > step / 2) {
4386
+ position += step;
4387
+ }
4388
+
4385
4389
  if (position > 100) {
4386
4390
  position = 100;
4387
4391
  } else if (position < 0) {