@mw-kit/mw-ui 1.7.56 → 1.7.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15970,7 +15970,7 @@ var Range = React__default.forwardRef(function (props, ref) {
15970
15970
  position: position
15971
15971
  }, React__default.createElement("div", {
15972
15972
  style: {
15973
- left: getBarLeft(100, value * 100 / max)
15973
+ left: getBarLeft(100, (value - min) * 100 / (max - min))
15974
15974
  }
15975
15975
  }, React__default.createElement(Icon, {
15976
15976
  type: 'feather',
@@ -15984,7 +15984,7 @@ var Range = React__default.forwardRef(function (props, ref) {
15984
15984
  onClick: canIncrement ? increment : undefined
15985
15985
  })), React__default.createElement("div", {
15986
15986
  style: {
15987
- left: getIndicatorLeft(14, value * 100 / max)
15987
+ left: getIndicatorLeft(14, (value - min) * 100 / (max - min))
15988
15988
  }
15989
15989
  })), React__default.createElement(SelectedArea, {
15990
15990
  percent: percent