diff options
Diffstat (limited to 'ext/js/language/text-scanner.js')
-rw-r--r-- | ext/js/language/text-scanner.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/js/language/text-scanner.js b/ext/js/language/text-scanner.js index 17809300..0d8e49b1 100644 --- a/ext/js/language/text-scanner.js +++ b/ext/js/language/text-scanner.js @@ -364,6 +364,11 @@ export class TextScanner extends EventDispatcher { } } + /** */ + clearMousePosition() { + this._lastMouseMove = null; + } + /** * @returns {?import('text-source').TextSource} */ |