Skip to content

Commit

Permalink
Make note drag appear faster
Browse files Browse the repository at this point in the history
  • Loading branch information
AbeJellinek committed Aug 7, 2023
1 parent 7404b77 commit 5906505
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dom/common/dom-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ abstract class DOMView<State extends DOMViewState, Data> {
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]);
}

Expand Down

0 comments on commit 5906505

Please sign in to comment.