[Editor] Set the creation method for free highlights to 'main_toolbar' (bug 1883394)

This commit is contained in:
Calixte Denizet 2024-03-04 16:58:50 +01:00
parent 29c493d36b
commit ecb4262b13

View File

@ -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);