Merge pull request #20335 from timvandermeij/setDims
[Editor] Remove obsolete arguments for `setDims` calls in the highlight code
This commit is contained in:
commit
7f92a6e2be
@ -527,7 +527,7 @@ class HighlightEditor extends AnnotationEditor {
|
||||
highlightOutlines: this.#highlightOutlines.getNewOutline(thickness / 2),
|
||||
});
|
||||
this.fixAndSetPosition();
|
||||
this.setDims(this.width, this.height);
|
||||
this.setDims();
|
||||
}
|
||||
|
||||
#cleanDrawLayer() {
|
||||
@ -646,7 +646,7 @@ class HighlightEditor extends AnnotationEditor {
|
||||
highlightDiv.setAttribute("aria-hidden", "true");
|
||||
highlightDiv.className = "internal";
|
||||
highlightDiv.style.clipPath = this.#clipPathId;
|
||||
this.setDims(this.width, this.height);
|
||||
this.setDims();
|
||||
|
||||
bindEvents(this, this.#highlightDiv, ["pointerover", "pointerleave"]);
|
||||
this.enableEditing();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user