From e4ebf5c90e6c0a5fb40d4c64450da1f1a5ac0dc1 Mon Sep 17 00:00:00 2001 From: tomasklaen Date: Sat, 25 Dec 2021 17:24:15 +0100 Subject: [PATCH] Remove redundant option hints --- src/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index bc79314..4a013c5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -195,7 +195,6 @@ const optionsSchema: OptionsSchema = [ description: `1 (slowest) to 11 (fastest).
Speed 10 has 5% lower quality, but is about 8 times faster than the default.
Speed 11 disables dithering and lowers compression level.`, - hint: (value) => value, isHidden: (_, {pngquant}) => !pngquant.enabled, }, { @@ -208,7 +207,6 @@ const optionsSchema: OptionsSchema = [ title: 'Max quality', description: `Instructs pngquant to use the least amount of colors required to meet or exceed the max quality.
0 (worst) to 1 (perfect).`, - hint: (value) => value, isHidden: (_, {pngquant}) => !pngquant.enabled, }, { @@ -220,7 +218,6 @@ const optionsSchema: OptionsSchema = [ default: 1, title: 'Dithering', description: `Set the dithering level using a fractional number between 0 (none) and 1 (full).`, - hint: (value) => value, isHidden: (_, {pngquant}) => !pngquant.enabled, }, ],