From 5906505c2d48cb17973bc9e58bd6e561918ace28 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Mon, 7 Aug 2023 14:16:45 -0400 Subject: [PATCH] Make note drag appear faster --- src/dom/common/dom-view.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dom/common/dom-view.tsx b/src/dom/common/dom-view.tsx index 09c3df42..83f9c6a3 100644 --- a/src/dom/common/dom-view.tsx +++ b/src/dom/common/dom-view.tsx @@ -490,6 +490,7 @@ abstract class DOMView { this._draggingNoteAnnotation.pageLabel = this._previewAnnotation.pageLabel; this._draggingNoteAnnotation.sortIndex = this._previewAnnotation.sortIndex; this._draggingNoteAnnotation.text = this._previewAnnotation.text; + this._previewAnnotation = null; this._options.onUpdateAnnotations([this._draggingNoteAnnotation]); }