Skip to content

Commit

Permalink
Remove redundant option hints
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasklaen committed Dec 25, 2021
1 parent 871e041 commit e4ebf5c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ const optionsSchema: OptionsSchema<Options> = [
description: `<code>1</code> (slowest) to <code>11</code> (fastest).<br>
Speed <code>10</code> has 5% lower quality, but is about 8 times faster than the default.<br>
Speed <code>11</code> disables dithering and lowers compression level.`,
hint: (value) => value,
isHidden: (_, {pngquant}) => !pngquant.enabled,
},
{
Expand All @@ -208,7 +207,6 @@ const optionsSchema: OptionsSchema<Options> = [
title: 'Max quality',
description: `Instructs pngquant to use the least amount of colors required to meet or exceed the max quality.<br>
<code>0</code> (worst) to <code>1</code> (perfect).`,
hint: (value) => value,
isHidden: (_, {pngquant}) => !pngquant.enabled,
},
{
Expand All @@ -220,7 +218,6 @@ const optionsSchema: OptionsSchema<Options> = [
default: 1,
title: 'Dithering',
description: `Set the dithering level using a fractional number between <code>0</code> (none) and <code>1</code> (full).`,
hint: (value) => value,
isHidden: (_, {pngquant}) => !pngquant.enabled,
},
],
Expand Down

0 comments on commit e4ebf5c

Please sign in to comment.