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/settings.html | |
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/settings.html')
-rw-r--r-- | ext/bg/settings.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html index cc209c8a..8eeda187 100644 --- a/ext/bg/settings.html +++ b/ext/bg/settings.html @@ -472,6 +472,8 @@ <div class="scan-input-prefix-cell" data-property="options"><div class="scan-input-prefix">Options</div></div> <div class="scan-input-content-cell" data-property="options"><div class="scan-input-input-cell-inner"> <div class="scan-input-type-list-container form-control"><div> + <div><label class="scan-input-toggle"><input type="checkbox" class="scan-input-settings-checkbox" data-property="options.searchTerms"><span>Search for terms</span></label></div> + <div><label class="scan-input-toggle"><input type="checkbox" class="scan-input-settings-checkbox" data-property="options.searchKanji"><span>Search for kanji</span></label></div> <div><label class="scan-input-toggle"><input type="checkbox" class="scan-input-settings-checkbox" data-property="options.scanOnPenHover"><span>Scan on pen hover</span></label></div> <div><label class="scan-input-toggle"><input type="checkbox" class="scan-input-settings-checkbox" data-property="options.scanOnPenPress"><span>Scan on pen press</span></label></div> <div><label class="scan-input-toggle"><input type="checkbox" class="scan-input-settings-checkbox" data-property="options.scanOnPenRelease"><span>Scan on pen release</span></label></div> |