Merge pull request #17768 from calixteman/bug1883394

[Editor] Set the creation method for free highlights to 'main_toolbar' (bug 1883394)
This commit is contained in:
calixteman 2024-03-04 19:16:15 +01:00 committed by GitHub
commit 7c9d3af85b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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