Merge 21372f6a58b13a4e3714da1f931cb0f1c7a66b40 into 4aca13e77aa2f2c4b5a133aa43fe27bbdf86ad21
This commit is contained in:
commit
0dc8bffc93
@ -318,7 +318,8 @@ class TextLayerBuilder {
|
||||
|
||||
const parentTextLayer = anchor.parentElement?.closest(".textLayer");
|
||||
const endDiv = this.#textLayers.get(parentTextLayer);
|
||||
if (endDiv) {
|
||||
const anchorHighlighted = anchor.classList?.contains("highlight");
|
||||
if (endDiv && !anchorHighlighted) {
|
||||
endDiv.style.width = parentTextLayer.style.width;
|
||||
endDiv.style.height = parentTextLayer.style.height;
|
||||
anchor.parentElement.insertBefore(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user