ソースを参照

Added min and max for Bzip2 block size arg

n1474335 6 年 前
コミット
d184e40116
1 ファイル変更3 行追加1 行削除
  1. 3 1
      src/core/operations/Bzip2Compress.mjs

+ 3 - 1
src/core/operations/Bzip2Compress.mjs

@@ -29,7 +29,9 @@ class Bzip2Compress extends Operation {
             {
             {
                 name: "Block size (100s of kb)",
                 name: "Block size (100s of kb)",
                 type: "number",
                 type: "number",
-                value: 9
+                value: 9,
+                min: 1,
+                max: 9
             },
             },
             {
             {
                 name: "Work factor",
                 name: "Work factor",