From e1c3613da0189c9c234d59d4474cfc3f958af79d Mon Sep 17 00:00:00 2001 From: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Date: Mon, 27 May 2024 10:49:54 -0400 Subject: Clear mouse position on popup close (#997) --- ext/js/app/frontend.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ext/js/app') diff --git a/ext/js/app/frontend.js b/ext/js/app/frontend.js index cc71311d..c856ae0f 100644 --- a/ext/js/app/frontend.js +++ b/ext/js/app/frontend.js @@ -349,6 +349,7 @@ export class Frontend { */ _onClosePopups() { this._clearSelection(true); + this._clearMousePosition(); } /** @@ -438,6 +439,11 @@ export class Frontend { this._textScanner.clearSelection(); } + /** */ + _clearMousePosition() { + this._textScanner.clearMousePosition(); + } + /** * @param {number} delay * @param {boolean} restart -- cgit v1.2.3