[Editor] Set the creation method for free highlights to 'main_toolbar' (bug 1883394)
This commit is contained in:
parent
29c493d36b
commit
ecb4262b13
@ -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