summaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-11 22:46:41 -0400
committerGitHub <noreply@github.com>2020-09-11 22:46:41 -0400
commit568775c6dc9ff4acc2386b8983cda037b87655e0 (patch)
tree9b85585940feb9de306c61dab00401ab3a205673 /ext/fg
parente56674e4ee39c706078558259305cb12babec343 (diff)
Text scanner cause update (#813)
* Rename _searchAtFromMouse to _searchAtFromMouseMove * Rename cause 'mouse' to 'mouseMove' for clarity
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/js/frontend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index 8189b8ad..6b0b50a6 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -267,7 +267,7 @@ class Frontend {
}
} if (type !== null) {
this._stopClearSelectionDelayed();
- const focus = (cause === 'mouse');
+ const focus = (cause === 'mouseMove');
this._showContent(textSource, focus, definitions, type, sentence, optionsContext);
} else {
if (scanningOptions.autoHideResults) {