diff --git a/src/display/editor/highlight.js b/src/display/editor/highlight.js index 2063caff2..0a0ccf5b2 100644 --- a/src/display/editor/highlight.js +++ b/src/display/editor/highlight.js @@ -727,6 +727,7 @@ class HighlightEditor extends AnnotationEditor { highlightId: this._freeHighlightId, highlightOutlines: this._freeHighlight.getOutlines(), clipPathId: this._freeHighlightClipId, + methodOfCreation: "main_toolbar", }); } else { parent.drawLayer.removeFreeHighlight(this._freeHighlightId);