aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js/text-scanner.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed/js/text-scanner.js')
-rw-r--r--ext/mixed/js/text-scanner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/text-scanner.js b/ext/mixed/js/text-scanner.js
index ac5d68d1..9a739c7e 100644
--- a/ext/mixed/js/text-scanner.js
+++ b/ext/mixed/js/text-scanner.js
@@ -297,7 +297,7 @@ class TextScanner {
}
}
- const textSource = docRangeFromPoint(x, y, this.options);
+ const textSource = docRangeFromPoint(x, y, this.options.scanning.deepDomScan);
if (this.textSourceCurrent !== null && this.textSourceCurrent.equals(textSource)) {
return;
}