From d86ec2c3dce31150d3b77ca89b82cceef7e39744 Mon Sep 17 00:00:00 2001 From: Sumedha Pramod Date: Thu, 24 Jan 2019 17:51:52 -0800 Subject: [PATCH] Chore: Don't reset on clickHandler after onSelectionChange() is called --- src/doc/DocAnnotator.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/doc/DocAnnotator.js b/src/doc/DocAnnotator.js index ecaaf245f..06f0ce893 100644 --- a/src/doc/DocAnnotator.js +++ b/src/doc/DocAnnotator.js @@ -416,6 +416,7 @@ class DocAnnotator extends Annotator { if ( // $FlowFixMe this.hasMouseMoved(this.lastHighlightEvent, event) && + !this.isCreatingHighlight && this.createHighlightDialog && this.createHighlightDialog.isVisible && !this.createHighlightDialog.isInHighlight(mouseEvent)