aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-13 11:33:10 -0400
committerGitHub <noreply@github.com>2020-09-13 11:33:10 -0400
commit5b49cf439866cc742c0cda37eb3d8a7200fc6860 (patch)
tree970e3bc00a0373e675948a5d90f7f5f50ccf921f /ext/mixed/js/display.js
parentefd0de6bc070c0c1476fef9d5a5434dbc108901e (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/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 92e27faa..ef56f4aa 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -252,6 +252,7 @@ class Display extends EventDispatcher {
selectText: scanning.selectText,
delay: scanning.delay,
touchInputEnabled: scanning.touchInputEnabled,
+ pointerEventsEnabled: scanning.pointerEventsEnabled,
scanLength: scanning.length,
sentenceExtent: options.anki.sentenceExt,
layoutAwareScan: scanning.layoutAwareScan