message: fix: rubberband calc fix
diff: @@ -97,7 +97,6 @@ function rubberband2(offset: number, constant: number) {
  }
  function rubberBand(distance: number, dimension: number, constant: number) {
  - // if the opposite bound isn't set then fake dimension as if they were both equals
  if (dimension === 0 || Math.abs(dimension) === Infinity) return rubberband2(distance, constant)
  return (distance * dimension * constant) / (dimension + constant * distance)
  }
  @@ -106,10 +105,10 @@ export function rubberBandIfOutOfBounds(delta: number, min: number, max: number,
  if (constant === 0) return minMax(delta, min, max)
  if (delta < min) {
  - return -rubberBand(min - delta, max - min, constant)
  + return -rubberBand(min - delta, max - min, constant) + min
  }
  if (delta > max) {
  - return rubberBand(delta - max, max - min, constant)
  + return rubberBand(delta - max, max - min, constant) + max
  }
  return delta
  }
  