diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-09-13 11:33:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-13 11:33:10 -0400 |
commit | 5b49cf439866cc742c0cda37eb3d8a7200fc6860 (patch) | |
tree | 970e3bc00a0373e675948a5d90f7f5f50ccf921f /ext/fg/js/frontend.js | |
parent | efd0de6bc070c0c1476fef9d5a5434dbc108901e (diff) |
Pointer events support (#819)
* Add option pointerEventsEnabled
* Add _pointerEventsEnabled option to TextScanner
* Add additional options
* Mouse pointer events
* Touch pointer events
* Pen pointer events
Diffstat (limited to 'ext/fg/js/frontend.js')
-rw-r--r-- | ext/fg/js/frontend.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js index 6b0b50a6..da620136 100644 --- a/ext/fg/js/frontend.js +++ b/ext/fg/js/frontend.js @@ -326,6 +326,7 @@ class Frontend { selectText: scanningOptions.selectText, delay: scanningOptions.delay, touchInputEnabled: scanningOptions.touchInputEnabled, + pointerEventsEnabled: scanningOptions.pointerEventsEnabled, scanLength: scanningOptions.length, sentenceExtent: options.anki.sentenceExt, layoutAwareScan: scanningOptions.layoutAwareScan |