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.
@@ -4379,6 +4379,10 @@ var Gauge = /*#__PURE__*/function (_React$Component) {
4379
4379
  var step = _this.props.step ? _this.props.step : 1;
4380
4380
  var position = Math.round(positionX * 100 / width) - Math.round(positionX * 100 / width) % step;
4381
4381
 
4382
+ if (Math.round(positionX * 100 / width) % step > step / 2) {
4383
+ position += step;
4384
+ }
4385
+
4382
4386
  if (position > 100) {
4383
4387
  position = 100;
4384
4388
  } else if (position < 0) {