clampNegatives method

ValueThreshold clampNegatives()

Implementation

ValueThreshold clampNegatives() {
  return ValueThreshold(
    _min < 0 ? 0 : _min,
    _max < 0 ? 0 : _max,
  );
}