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:
commit
7c9d3af85b
@ -727,6 +727,7 @@ class HighlightEditor extends AnnotationEditor {
|
|||||||
highlightId: this._freeHighlightId,
|
highlightId: this._freeHighlightId,
|
||||||
highlightOutlines: this._freeHighlight.getOutlines(),
|
highlightOutlines: this._freeHighlight.getOutlines(),
|
||||||
clipPathId: this._freeHighlightClipId,
|
clipPathId: this._freeHighlightClipId,
|
||||||
|
methodOfCreation: "main_toolbar",
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
parent.drawLayer.removeFreeHighlight(this._freeHighlightId);
|
parent.drawLayer.removeFreeHighlight(this._freeHighlightId);
|
||||||
|
Loading…
Reference in New Issue
Block a user