From 568775c6dc9ff4acc2386b8983cda037b87655e0 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 11 Sep 2020 22:46:41 -0400 Subject: Text scanner cause update (#813) * Rename _searchAtFromMouse to _searchAtFromMouseMove * Rename cause 'mouse' to 'mouseMove' for clarity --- ext/fg/js/frontend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/fg/js') 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) { -- cgit v1.2.3