aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/data/options-schema.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-12 13:20:02 -0400
committerGitHub <noreply@github.com>2020-09-12 13:20:02 -0400
commitc98aa9ad4751f1c35c164525eaec7e2411b0a5c4 (patch)
treee396459b236966fb7f3e8aa50aec5f42a06c16ec /ext/bg/data/options-schema.json
parent41db9ec89b8eb76009f0cf8894aa0f6e2cc2f8bd (diff)
More scanning options (#815)
* Reorganize options * Add advanced options * Add a setting transform 'setRelativeAttribute' * Add advanced options to HTML/CSS
Diffstat (limited to 'ext/bg/data/options-schema.json')
-rw-r--r--ext/bg/data/options-schema.json30
1 files changed, 29 insertions, 1 deletions
diff --git a/ext/bg/data/options-schema.json b/ext/bg/data/options-schema.json
index e9677e95..9cc8837d 100644
--- a/ext/bg/data/options-schema.json
+++ b/ext/bg/data/options-schema.json
@@ -362,7 +362,8 @@
"required": [
"include",
"exclude",
- "types"
+ "types",
+ "options"
],
"properties": {
"include": {
@@ -394,6 +395,33 @@
"default": true
}
}
+ },
+ "options": {
+ "type": "object",
+ "required": [
+ "showAdvanced",
+ "scanOnPenHover",
+ "scanOnPenPress",
+ "scanOnPenRelease"
+ ],
+ "properties": {
+ "showAdvanced": {
+ "type": "boolean",
+ "default": false
+ },
+ "scanOnPenHover": {
+ "type": "boolean",
+ "default": true
+ },
+ "scanOnPenPress": {
+ "type": "boolean",
+ "default": true
+ },
+ "scanOnPenRelease": {
+ "type": "boolean",
+ "default": false
+ }
+ }
}
}
}