summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/script.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/static/script.js b/static/script.js
index a800e5d..7f2d190 100644
--- a/static/script.js
+++ b/static/script.js
@@ -60,9 +60,9 @@ var queryTypes = [
return 'contrast(' + attrs.get("contrast") + '%)'
},
generateDefaultAttrs: function() {
- var mid = randomInt(75, 125);
- var lowerBound = mid - 25;
- var upperBound = mid + 25;
+ var mid = randomInt(50, 150);
+ var lowerBound = mid - 50;
+ var upperBound = mid + 50;
return new Map([["contrast", mid], ["contrastLowerBound", lowerBound], ["contrastUpperBound", upperBound]]);
},
generateInputId: function(id) {
@@ -90,9 +90,9 @@ var queryTypes = [
return 'saturate(' + attrs.get("saturation") + '%)'
},
generateDefaultAttrs: function() {
- var mid = randomInt(75, 125);
- var lowerBound = mid - 25;
- var upperBound = mid + 25;
+ var mid = randomInt(50, 150);
+ var lowerBound = mid - 50;
+ var upperBound = mid + 50;
return new Map([["saturation", mid], ["saturationLowerBound", lowerBound], ["saturationUpperBound", upperBound]]);
},
generateInputId: function(id) {