Skip to content

Commit 498b3ab

Browse files
committed
double min % for coloree slice
1 parent 6b95c80 commit 498b3ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/coloree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const createRandomColor = () =>
1313
export const createRandomPuzzle = (difficulty = 1) => {
1414
const colorCount = Math.ceil(Math.random() * difficulty) + 2;
1515
const colors = [];
16-
const minPct = 0.05;
16+
const minPct = 0.1;
1717
let remainingPct = 1;
1818

1919
while (colors.length < colorCount) {

0 commit comments

Comments
 (0)