Limit max level

With libdeflate, any OxiPNG level above 3 is equivalent to 3, so don't show them anymore.
This commit is contained in:
Ingvar Stepanyan
2020-04-20 12:46:54 +01:00
parent ae7782031d
commit eae808cb6f

View File

@ -28,7 +28,7 @@ export default class OxiPNGEncoderOptions extends Component<Props, {}> {
<Range
name="level"
min="0"
max="6"
max="3"
step="1"
value={options.level}
onInput={this.onChange}