From ecb4262b13b53c3877164c1db421012d9881ab57 Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Mon, 4 Mar 2024 16:58:50 +0100 Subject: [PATCH] [Editor] Set the creation method for free highlights to 'main_toolbar' (bug 1883394) --- src/display/editor/highlight.js | 1 + 1 file changed, 1 insertion(+) 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);