From c98aa9ad4751f1c35c164525eaec7e2411b0a5c4 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 12 Sep 2020 13:20:02 -0400 Subject: More scanning options (#815) * Reorganize options * Add advanced options * Add a setting transform 'setRelativeAttribute' * Add advanced options to HTML/CSS --- ext/bg/data/options-schema.json | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'ext/bg/data') 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 + } + } } } } -- cgit v1.2.3