diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-09-13 13:25:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-13 13:25:03 -0400 |
commit | 621aa354e77a5f0e7825ff0ad7a66c41154f2511 (patch) | |
tree | 194717396918d27c0ebadc21e62a32714b27886f /ext/bg/js/settings | |
parent | b180ebc3bc5182712fe33e5af3bea64b06204dcc (diff) |
Add scan dictionary type filters (#822)
* Add options for searchTerms and searchKanji
* Add settings HTML
* Add options to TextScanner
* Update _search/_findDefinitions to include searchTerms/searchKanji args
* Update _searchAtFromMouseMove args
* Change argument structure for _searchAt
* Use scanning options for searchTerms and searchKanji
Diffstat (limited to 'ext/bg/js/settings')
-rw-r--r-- | ext/bg/js/settings/scan-inputs-controller.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/bg/js/settings/scan-inputs-controller.js b/ext/bg/js/settings/scan-inputs-controller.js index 09decaf3..b6498d7c 100644 --- a/ext/bg/js/settings/scan-inputs-controller.js +++ b/ext/bg/js/settings/scan-inputs-controller.js @@ -101,7 +101,9 @@ class ScanInputsController { showAdvanced: false, scanOnPenHover: true, scanOnPenPress: true, - scanOnPenRelease: false + scanOnPenRelease: false, + searchTerms: true, + searchKanji: true } }] }]); |