mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-16 10:39:53 +00:00
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:
@@ -28,7 +28,7 @@ export default class OxiPNGEncoderOptions extends Component<Props, {}> {
|
|||||||
<Range
|
<Range
|
||||||
name="level"
|
name="level"
|
||||||
min="0"
|
min="0"
|
||||||
max="6"
|
max="3"
|
||||||
step="1"
|
step="1"
|
||||||
value={options.level}
|
value={options.level}
|
||||||
onInput={this.onChange}
|
onInput={this.onChange}
|
||||||
|
|||||||
Reference in New Issue
Block a user