summaryrefslogtreecommitdiff
path: root/ext/fg/js/driver.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-02-08 09:24:14 -0800
committerAlex Yatskov <alex@foosoft.net>2017-02-08 09:24:14 -0800
commitf3fe0994f52067d7c6d1886b02afd8f0a2a15099 (patch)
tree7ed9b1bfbc0d0e9d665f91ae5297614846ebf95e /ext/fg/js/driver.js
parentb3487370db3540a8cafa0346eed1e9109abe7682 (diff)
add option to disable imposters, bump version1.0.11
Diffstat (limited to 'ext/fg/js/driver.js')
-rw-r--r--ext/fg/js/driver.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/driver.js b/ext/fg/js/driver.js
index 97f29f89..7facda0a 100644
--- a/ext/fg/js/driver.js
+++ b/ext/fg/js/driver.js
@@ -103,7 +103,7 @@ class Driver {
return;
}
- const textSource = textSourceFromPoint(point);
+ const textSource = textSourceFromPoint(point, this.options.scanning.imposter);
if (textSource === null || !textSource.containsPoint(point)) {
if (hideNotFound) {
this.searchClear();