Skip to content

Commit 677f895

Browse files
committed
change inc value
1 parent 062e2f8 commit 677f895

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

palette-creator-tool.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ description: "This tool creates harmonious palettes for website designs and fron
6868
function increment(property) {
6969
const input = document.getElementById(property);
7070
let value = parseInt(input.value);
71-
if (value < parseInt(input.max)) {
72-
value++;
71+
if (value < parseInt(input.max) - 10) {
72+
value+=10;
7373
input.value = value;
7474
updateColor();
7575
}
@@ -79,7 +79,7 @@ description: "This tool creates harmonious palettes for website designs and fron
7979
const input = document.getElementById(property);
8080
let value = parseInt(input.value);
8181
if (value > parseInt(input.min)) {
82-
value--;
82+
value-=10;
8383
input.value = value;
8484
updateColor();
8585
}

0 commit comments

Comments
 (0)