summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-11 16:03:46 -0400
committerGitHub <noreply@github.com>2020-09-11 16:03:46 -0400
commit0c2f0aa4eb9de33fc258155dd93ca962b7d8b8ef (patch)
treef619a1935458814246dee341b1d1b9b16897fb17 /ext/bg/js/settings
parentf168efb69c0387da0be4e9f2807fd9074992346f (diff)
Fix adding new scanning inputs not working (#808)
Diffstat (limited to 'ext/bg/js/settings')
-rw-r--r--ext/bg/js/settings/scan-inputs-controller.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/bg/js/settings/scan-inputs-controller.js b/ext/bg/js/settings/scan-inputs-controller.js
index 3cd2b513..84621094 100644
--- a/ext/bg/js/settings/scan-inputs-controller.js
+++ b/ext/bg/js/settings/scan-inputs-controller.js
@@ -93,7 +93,11 @@ class ScanInputsController {
path: 'scanning.inputs',
start: index,
deleteCount: 0,
- items: [{include, exclude}]
+ items: [{
+ include,
+ exclude,
+ types: {mouse: true, touch: false, pen: false}
+ }]
}]);
}